From 8e4348d40a32ba3588bb99c627a00462849336b5 Mon Sep 17 00:00:00 2001 From: brunnels Date: Sun, 7 Oct 2012 16:07:55 -0500 Subject: [PATCH] Missed the param on the method when patching --- generator/lib/builder/om/PHP5ObjectBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/lib/builder/om/PHP5ObjectBuilder.php b/generator/lib/builder/om/PHP5ObjectBuilder.php index 26ccdc332..d51f1693f 100644 --- a/generator/lib/builder/om/PHP5ObjectBuilder.php +++ b/generator/lib/builder/om/PHP5ObjectBuilder.php @@ -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) {";