From 0dbea77dcd07ae6880a122256277f3ac9dc8fe29 Mon Sep 17 00:00:00 2001 From: "Jonathan.Wage" Date: Mon, 15 Oct 2007 14:19:51 +0000 Subject: [PATCH] Fix to Builder so the generate_accessors option is used. --- lib/Doctrine/Import/Builder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Import/Builder.php b/lib/Doctrine/Import/Builder.php index eb0dd609c..ca65c79cf 100644 --- a/lib/Doctrine/Import/Builder.php +++ b/lib/Doctrine/Import/Builder.php @@ -405,7 +405,7 @@ END; $setUp = $this->buildSetUp($options, $columns, $relations); } - $accessors = true === true ? $this->buildAccessors($options, $columns):null; + $accessors = (isset($options['generate_accessors']) && $options['generate_accessors'] === true) ? $this->buildAccessors($options, $columns):null; $content = sprintf(self::$tpl, $abstract, $className,