summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();