Fix for coding standards.
This commit is contained in:
parent
07bacdfe78
commit
e33130b80e
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user