Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix static call in place of instance call

  • Loading branch information...
commit 22a5ab16f8d67154db75b4cb5b8c398018be007e 1 parent 8bdd0d0
@VanTanev authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/templates/parent/addRemoveAllRelations.php
View
2  src/templates/parent/addRemoveAllRelations.php
@@ -8,5 +8,5 @@
public function remove<?php echo $pluralRefTableName ?>()
{
// 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 ?>();
}
Please sign in to comment.
Something went wrong with that request. Please try again.