Commit 838f4ca3 by Timothy J Warren

Fix set_timezone method

parent 9b924c14
......@@ -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');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment