Index: trunk/core/units/statistics/statistics_tag_processor.php =================================================================== diff -u -N -r4651 -r4765 --- trunk/core/units/statistics/statistics_tag_processor.php (.../statistics_tag_processor.php) (revision 4651) +++ trunk/core/units/statistics/statistics_tag_processor.php (.../statistics_tag_processor.php) (revision 4765) @@ -215,7 +215,8 @@ function GetTotalPending() { $sql = 'SELECT Prefix - FROM '.TABLE_PREFIX.'ItemTypes'; + FROM '.TABLE_PREFIX.'ItemTypes + WHERE LENGTH(ClassName) > 0'; $prefixes = $this->Conn->GetCol($sql); $sum = 0; @@ -228,7 +229,8 @@ function PrintPendingStatistics($params) { $sql = 'SELECT Prefix - FROM '.TABLE_PREFIX.'ItemTypes'; + FROM '.TABLE_PREFIX.'ItemTypes + WHERE LENGTH(ClassName) > 0'; $check_prefixes = $this->Conn->GetCol($sql); if (!$check_prefixes) { return '';