Fix a MySQL-ism (closes issue 628)
This commit is contained in:
parent
9b7691c1ae
commit
3e6527bab3
@ -378,7 +378,7 @@ class IDF_Views
|
|||||||
|
|
||||||
// Count members
|
// Count members
|
||||||
$db =& Pluf::db();
|
$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);
|
$ret = $db->select ($sql);
|
||||||
$forgestats['members'] = $ret[0]['nb'];
|
$forgestats['members'] = $ret[0]['nb'];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user