Index: trunk/admin/import/import.php =================================================================== diff -u -r233 -r247 --- trunk/admin/import/import.php (.../import.php) (revision 233) +++ trunk/admin/import/import.php (.../import.php) (revision 247) @@ -487,10 +487,13 @@ } $row->moveNext(); } - // disable lost+found category + // disable lost+found category (if found one) $tmp_cat = $objCatList->GetItemByField('Name','Lost+Found'); - $tmp_cat->Set('Status',0); - $tmp_cat->Update(); + if( is_object($tmp_cat) ) + { + $tmp_cat->Set('Status',0); + $tmp_cat->Update(); + } return $counter; }