From 345c1e6c51ba482c06efa260641df8997ffe83dc Mon Sep 17 00:00:00 2001 From: Fred Calsen Date: Mon, 7 Nov 2011 15:14:54 +0100 Subject: [PATCH] Changed hardcoded reference to users table in model --- models/ion_auth_model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/ion_auth_model.php b/models/ion_auth_model.php index 3434885bd..384c3b299 100755 --- a/models/ion_auth_model.php +++ b/models/ion_auth_model.php @@ -990,7 +990,7 @@ public function update($id, array $data) } // Filter the data passed - $data = $this->_filter_data('users', $data); + $data = $this->_filter_data($this->tables['users'], $data); if (array_key_exists('username', $data) || array_key_exists('password', $data) || array_key_exists('email', $data)) {