CC-2491:Number of songs shows 0
- fixed
This commit is contained in:
parent
89df3db096
commit
c0b95f583a
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ class StoredFile {
|
||||||
public static function getFileCount()
|
public static function getFileCount()
|
||||||
{
|
{
|
||||||
global $CC_CONFIG, $CC_DBC;
|
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);
|
return $CC_DBC->GetOne($sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue