Fix set_timezone method

This commit is contained in:
Timothy Warren 2014-08-15 11:02:22 -04:00
父節點 9b924c1424
當前提交 838f4ca36d
共有 1 個檔案被更改,包括 1 行新增1 行删除

查看文件

@ -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');