Fix a MySQL-ism (closes issue 628)

This commit is contained in:
Patrick Georgi 2011-03-09 01:37:41 +01:00 committed by Thomas Keller
parent 6ab1f4a4f0
commit bc82ee24d8

View File

@ -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'];