CC-2491:Number of songs shows 0

- fixed
This commit is contained in:
james 2011-06-30 10:45:55 -04:00
parent 89df3db096
commit c0b95f583a
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ class StoredFile {
public static function getFileCount()
{
global $CC_CONFIG, $CC_DBC;
$sql = "SELECT count(*) as cnt FROM ".$CC_CONFIG["filesTable"]." WHERE state='ready'";
$sql = "SELECT count(*) as cnt FROM ".$CC_CONFIG["filesTable"];
return $CC_DBC->GetOne($sql);
}