From 3e6527bab38623873b3363f9096b363a41a06da8 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 cb44ce6..685eb83 100644 --- a/src/IDF/Views.php +++ b/src/IDF/Views.php @@ -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'];