// Merge -> 10309

This commit is contained in:
rMalie committed 2011-11-21 11:05:10 +00:00
1 parent 3bfd9ad4ca
commit 82c9dead2a
365 files changed
+11185 -1571

No files matched your search

+1 -1
View File
@@ -177,7 +177,7 @@ class CategoryCore extends ObjectModel
public function add($autodate = true, $nullValues = false)
{
$this->position = self::getLastPosition((int)$this->id_parent);
if (!isset($this->level_depth) || $this->level_depth != 0)
if (!isset($this->level_depth))
$this->level_depth = $this->calcLevelDepth();
$ret = parent::add($autodate);
if (!isset($this->doNotRegenerateNTree) || !$this->doNotRegenerateNTree)