Index: trunk/kernel/include/parseditem.php =================================================================== diff -u -r1116 -r1134 --- trunk/kernel/include/parseditem.php (.../parseditem.php) (revision 1116) +++ trunk/kernel/include/parseditem.php (.../parseditem.php) (revision 1134) @@ -2201,7 +2201,7 @@ //echo "SQL: $sql
"; if(isset($sql)&&$sql) { - if(is_numeric($ListTypeId)) + if(is_numeric($ListTypeId) && $ListTypeId) { $cc = $objCountCache->GetValue($ListTypeId,$this->ItemType,$ExtraId,(int)getArrayValue($attribs,'_today'), 3600);