Ignore:
Timestamp:
Mar 14, 2010, 10:27:02 AM (15 years ago)
Author:
george
Message:
  • Přidáno: Zobrazení verze importu.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/img_statistic.php

    r365 r383  
    2222$ID = mysql_fetch_row($DbResult);
    2323$BuildNumber_max = $ID[0];
     24if($BuildNumber_max == '') $BuildNumber_max = 0; // Empty result, no items in this group
    2425
    2526$where = 'VersionEnd = '.$BuildNumber_max.' AND (`Language` <> 0) AND (`Complete` = 1) '.$team.$language;
     
    2728$NumberTranslate = $ID[0];
    2829 
    29 $ID = mysql_fetch_row($Database->SQLCommand('SELECT COUNT(DISTINCT(`Entry`)) FROM `'.$Group['TablePrefix'].'` WHERE `VersionEnd` = '.$BuildNumber_max.' AND (`Language` = 0)'));
     30$DbResult = $Database->SQLCommand('SELECT COUNT(DISTINCT(`Entry`)) FROM `'.$Group['TablePrefix'].'` WHERE `VersionEnd` = '.$BuildNumber_max.' AND (`Language` = 0)');
     31$ID = mysql_fetch_row($DbResult);
    3032$NumberAJ = $ID[0];
    3133
Note: See TracChangeset for help on using the changeset viewer.