Skip to content

Commit

Permalink
Fix static call in place of instance call
Browse files Browse the repository at this point in the history
  • Loading branch information
VanTanev committed Jul 2, 2012
1 parent 8bdd0d0 commit 22a5ab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/parent/addRemoveAllRelations.php
Expand Up @@ -8,5 +8,5 @@
public function remove<?php echo $pluralRefTableName ?>() public function remove<?php echo $pluralRefTableName ?>()
{ {
// this sets the collection to an empty Propel object collection; upon save, all relations will be removed // this sets the collection to an empty Propel object collection; upon save, all relations will be removed
self::init<?php echo $pluralRefTableName ?>(); $this-><?php echo $pluralRefTableName ?>();
} }

0 comments on commit 22a5ab1

Please sign in to comment.