From 004a0c8a75e8fb71b8ba0c47f000c381c03a2967 Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 3 Nov 2008 13:09:42 +0000 Subject: Minor tweaks 'cos case does matter... git-svn-id: https://code.elgg.org/elgg/trunk@2379 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/entities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib/entities.php') diff --git a/engine/lib/entities.php b/engine/lib/entities.php index ba376917b..de1093835 100644 --- a/engine/lib/entities.php +++ b/engine/lib/entities.php @@ -1409,7 +1409,7 @@ if (!$count) { $query = "SELECT * from {$CONFIG->dbprefix}entities where "; } else { - $query = "select count(guid) as total from {$CONFIG->dbprefix}entities where "; + $query = "SELECT count(guid) as total from {$CONFIG->dbprefix}entities where "; } foreach ($where as $w) $query .= " $w and "; -- cgit v1.2.3