1
0
mirror of synced 2025-01-18 06:21:40 +03:00

Fix to Builder so the generate_accessors option is used.

This commit is contained in:
Jonathan.Wage 2007-10-15 14:19:51 +00:00
parent 33c209db7a
commit 0dbea77dcd

View File

@ -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,