From d98ba32e9717a5e325d439e785c967f8cc44d095 Mon Sep 17 00:00:00 2001 From: Rafael Bodill Date: Fri, 19 Sep 2014 18:45:08 +0300 Subject: Fix user/register mistaken query handling --- application/models/muser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3-24-g4f1b