From 8b4ae393e4432f18961e03d9b363bfbb9c38e8a1 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Wed, 4 Sep 2013 17:17:44 +0200 Subject: Remove unneeded "as" in sql query Signed-off-by: Florian Pritz --- application/controllers/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/controllers') diff --git a/application/controllers/user.php b/application/controllers/user.php index 34d6c492d..74c56ea12 100644 --- a/application/controllers/user.php +++ b/application/controllers/user.php @@ -151,7 +151,7 @@ class User extends MY_Controller { // TODO: count both, invited users and key $query = $this->db->query(" - SELECT count(*) as count + SELECT count(*) count FROM `actions` WHERE `user` = ? AND `action` = 'invitation' -- cgit v1.2.3-24-g4f1b