Browse Source

Fix another issue with the todo library

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

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

@@ -386,7 +386,7 @@ class Todo {
386 386
 			->where('id', $uid)
387 387
 			->update('user');
388 388
 
389
-		return ($this->db->affected_rows == 1);
389
+		return ($this->CI->db->affected_rows == 1);
390 390
 	}
391 391
 
392 392
 	// --------------------------------------------------------------------------