Index: trunk/kernel/include/item.php =================================================================== diff -u -r288 -r302 --- trunk/kernel/include/item.php (.../item.php) (revision 288) +++ trunk/kernel/include/item.php (.../item.php) (revision 302) @@ -774,6 +774,7 @@ } // check if not exists + $db =& $this->adodbConnection; $sql = sprintf('SELECT * FROM %s WHERE CategoryId = %s AND ItemResourceId = %s', $SourceTable, $CatId, $this->Get("ResourceId")); $rs = $db->Execute($sql); @@ -785,6 +786,7 @@ $this->adodbConnection->Execute($sql); } + $c = $objCatList->GetCategory($CatId); } }