summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers')
-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 29d9eaeeb..d9a549ae6 100644
--- a/application/controllers/user.php
+++ b/application/controllers/user.php
@@ -101,7 +101,7 @@ class User extends CI_Controller {
$userid = $this->muser->get_userid();
$query = $this->db->query("
- SELECT *
+ SELECT `key`
FROM invitations
WHERE user = ?
", array($userid))->result_array();