diff options
author | Rafael Bodill <rafi@sortex.co.il> | 2014-09-19 17:45:08 +0200 |
---|---|---|
committer | Rafael Bodill <rafi@sortex.co.il> | 2014-09-19 17:45:08 +0200 |
commit | d98ba32e9717a5e325d439e785c967f8cc44d095 (patch) | |
tree | 3c458c98c99b9c9dee99ca9501b7c8f17ab28722 /application/models/muser.php | |
parent | effdc57264f62c3422b91d295f29a8c4e77c3db5 (diff) |
Fix user/register mistaken query handling
Diffstat (limited to 'application/models/muser.php')
-rw-r--r-- | application/models/muser.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/models/muser.php b/application/models/muser.php index 4f5931728..ffcc5f6b3 100644 --- a/application/models/muser.php +++ b/application/models/muser.php @@ -204,7 +204,7 @@ class Muser extends CI_Model { function get_action($action, $key) { - $db->from('actions') + $query = $this->db->from('actions') ->where('key', $key) ->where('action', $action) ->get()->row_array(); |