Fix a MySQL-ism (closes issue 628)

feature.better-home
Patrick Georgi 2011-03-09 01:37:41 +01:00 committed by Thomas Keller
parent 9b7691c1ae
commit 3e6527bab3
1 changed files with 1 additions and 1 deletions

View File

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