Browse Source

Fix set_timezone method

Timothy J. Warren 3 years ago
parent
commit
838f4ca36d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/libraries/Todo.php

+ 1 - 1
application/libraries/Todo.php View File

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