summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorRafael Bodill <rafi@sortex.co.il>2014-09-19 17:45:08 +0200
committerRafael Bodill <rafi@sortex.co.il>2014-09-19 17:45:08 +0200
commitd98ba32e9717a5e325d439e785c967f8cc44d095 (patch)
tree3c458c98c99b9c9dee99ca9501b7c8f17ab28722 /application
parenteffdc57264f62c3422b91d295f29a8c4e77c3db5 (diff)
Fix user/register mistaken query handling
Diffstat (limited to 'application')
-rw-r--r--application/models/muser.php2
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();