Skip to content

Commit 30b58fa

Browse files
committed
Fix property reference
1 parent 96304fa commit 30b58fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/vendor/propel-generator/classes/propel/engine/builder/om/php5/PHP5ComplexObjectBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ protected function addRefFKAdd(string &$script, ForeignKey $refFK): void
720720
*/
721721
public function add".$this->getRefFKPhpNameAffix($refFK, false)."($className \$l)
722722
{
723-
\$this->coll".$this->getRefFKPhpNameAffix($refFK, true)."[] = \$l;
723+
\$this->coll".$this->getRefFKPhpNameAffix($refFK, false)."[] = \$l;
724724
\$l->set".$this->getFKPhpNameAffix($refFK, false)."(\$this);
725725
}
726726
";

0 commit comments

Comments
 (0)