Fix set_timezone method

This commit is contained in:
Timothy Warren 2014-08-15 11:02:22 -04:00
parent 9b924c1424
commit 838f4ca36d

View File

@ -382,7 +382,7 @@ class Todo {
*/ */
public function set_timezone($uid, $timezone) public function set_timezone($uid, $timezone)
{ {
$this->db->set('timezone', $timezone) $this->CI->db->set('timezone', $timezone)
->where('id', $uid) ->where('id', $uid)
->update('user'); ->update('user');