From bc82ee24d8e91d081407f2e949b72e281334ebba Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Wed, 9 Mar 2011 01:37:41 +0100 Subject: [PATCH] Fix a MySQL-ism (closes issue 628) --- src/IDF/Views.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IDF/Views.php b/src/IDF/Views.php index e79b510..76e422b 100644 --- a/src/IDF/Views.php +++ b/src/IDF/Views.php @@ -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'];