Index: trunk/kernel/units/general/cat_dbitem.php =================================================================== diff -u -r4043 -r4314 --- trunk/kernel/units/general/cat_dbitem.php (.../cat_dbitem.php) (revision 4043) +++ trunk/kernel/units/general/cat_dbitem.php (.../cat_dbitem.php) (revision 4314) @@ -158,7 +158,7 @@ { $id_field = $this->Application->getUnitOption($this->Prefix, 'IDField'); // because item was loaded before by ResourceId - $ci_table = $this->Application->getUnitOption('ci', 'TableName'); + $ci_table = $this->Application->getUnitOption($this->Prefix.'-ci', 'TableName'); $resource_id = $this->GetDBField('ResourceId'); $item_cats_sql = 'SELECT CategoryId FROM %s WHERE ItemResourceId = %s';