Fix a MySQL-ism (closes issue 628)
This commit is contained in:
parent
6ab1f4a4f0
commit
bc82ee24d8
@ -376,7 +376,7 @@ class IDF_Views
|
||||
|
||||
// Count members
|
||||
$db =& Pluf::db();
|
||||
$sql = "SELECT count(id) as `nb` FROM indefero_users WHERE first_name != '---'";
|
||||
$sql = "SELECT count(id) as nb FROM indefero_users WHERE first_name != '---'";
|
||||
$ret = $db->select ($sql);
|
||||
$forgestats['members'] = $ret[0]['nb'];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user