Skip to content

Commit

Permalink
Missed the param on the method when patching
Browse files Browse the repository at this point in the history
  • Loading branch information
brunnels committed Oct 7, 2012
1 parent 35eb198 commit 8e4348d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator/lib/builder/om/PHP5ObjectBuilder.php
Expand Up @@ -3254,7 +3254,7 @@ protected function addFKAccessor(&$script, ForeignKey $fk)
* @return $className The associated $className object.
* @throws PropelException
*/
public function get".$this->getFKPhpNameAffix($fk, $plural = false)."(PropelPDO \$con = null)
public function get".$this->getFKPhpNameAffix($fk, $plural = false)."(PropelPDO \$con = null, \$doQuery)
{";
$script .= "
if (\$this->$varName === null && ($conditional) && \$doQuery) {";
Expand Down

0 comments on commit 8e4348d

Please sign in to comment.