From 838f4ca36d2ac89250cadb691c28f8219e7817ab Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Fri, 15 Aug 2014 11:02:22 -0400 Subject: [PATCH] Fix set_timezone method --- application/libraries/Todo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/libraries/Todo.php b/application/libraries/Todo.php index 67c3764..6da29c4 100755 --- a/application/libraries/Todo.php +++ b/application/libraries/Todo.php @@ -382,7 +382,7 @@ class Todo { */ public function set_timezone($uid, $timezone) { - $this->db->set('timezone', $timezone) + $this->CI->db->set('timezone', $timezone) ->where('id', $uid) ->update('user');