Permalink
Browse files

Merge pull request #765 from rvitaliy/connection-fix

fixed a getter function without '$con'
  • Loading branch information...
2 parents ae7bb75 + ceee8a9 commit a294db137b9590e199da92766e63023325d111e9 @willdurand willdurand committed Oct 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 generator/lib/builder/om/PHP5ObjectBuilder.php
View
2 generator/lib/builder/om/PHP5ObjectBuilder.php
@@ -4500,7 +4500,7 @@ protected function addCrossFKSet(&$script, $refFK, $crossFK)
public function set{$relatedNamePlural}(PropelCollection \${$inputCollection}, PropelPDO \$con = null)
{
\$this->clear{$relatedNamePlural}();
- \$current{$relatedNamePlural} = \$this->get{$relatedNamePlural}();
+ \$current{$relatedNamePlural} = \$this->get{$relatedNamePlural}(null, \$con);
\$this->{$inputCollection}ScheduledForDeletion = \$current{$relatedNamePlural}->diff(\${$inputCollection});

0 comments on commit a294db1

Please sign in to comment.