From e33130b80ee75e0d5c996dddcbc752b6d84451e6 Mon Sep 17 00:00:00 2001 From: "Jonathan.Wage" Date: Thu, 8 Nov 2007 18:50:20 +0000 Subject: [PATCH] Fix for coding standards. --- lib/Doctrine/Tree/NestedSet.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/Tree/NestedSet.php b/lib/Doctrine/Tree/NestedSet.php index 5bfd6cdee..1addb207f 100644 --- a/lib/Doctrine/Tree/NestedSet.php +++ b/lib/Doctrine/Tree/NestedSet.php @@ -45,9 +45,10 @@ class Doctrine_Tree_NestedSet extends Doctrine_Tree implements Doctrine_Tree_Int { // set default many root attributes $options['hasManyRoots'] = isset($options['hasManyRoots']) ? $options['hasManyRoots'] : false; - if ($options['hasManyRoots']) + if ($options['hasManyRoots']) { $options['rootColumnName'] = isset($options['rootColumnName']) ? $options['rootColumnName'] : 'root_id'; - + } + parent::__construct($table, $options); }