Index: branches/unlabeled/unlabeled-1.10.2/core/units/categories/categories_item.php =================================================================== diff -u -r7090 -r7354 --- branches/unlabeled/unlabeled-1.10.2/core/units/categories/categories_item.php (.../categories_item.php) (revision 7090) +++ branches/unlabeled/unlabeled-1.10.2/core/units/categories/categories_item.php (.../categories_item.php) (revision 7354) @@ -149,7 +149,7 @@ function IsRoot() { $category_id = $this->Application->GetVar($this->getPrefixSpecial().'_id'); - if (is_numeric($category_id) && $category_id == 0) { + if (is_numeric($category_id) && $category_id == 0 && !$this->Application->GetVar($this->getPrefixSpecial().'_PreCreate')) { $sql = 'SELECT '.$this->IDField.' FROM '.$this->TableName.' WHERE '.$this->IDField.' = '.$category_id;