Browse Source

URGENT: variable scope undefined fix!

FTFY: Variable scope issue with $valid in function update_user()
develop
ManeBit 10 years ago
parent
commit
ab64f6118f
  1. 1
      application/libraries/Aauth.php

1
application/libraries/Aauth.php

@ -682,6 +682,7 @@ class Aauth {
public function update_user($user_id, $email = FALSE, $pass = FALSE, $name = FALSE) { public function update_user($user_id, $email = FALSE, $pass = FALSE, $name = FALSE) {
$data = array(); $data = array();
$valid = TRUE;
if ($email != FALSE) { if ($email != FALSE) {
if ($this->user_exsist_by_email($email)) { if ($this->user_exsist_by_email($email)) {

Loading…
Cancel
Save