summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/controllers/user.php2
1 files changed, 1 insertions, 1 deletions
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'