Fix saving the settings to database

This commit is contained in:
Eike Foken
2011-04-22 19:52:15 +02:00
parent b70dc810b9
commit 3dd8db9cc5
3 changed files with 20 additions and 5 deletions

View File

@@ -397,7 +397,7 @@ class User extends CI_Model {
* @return boolean
*/
public function update($id, $data) {
$user = $this->get_user($id)->row();
$user = $this->getUserByID($id)->row();
$this->db->trans_begin();