Skip to content

Commit

Permalink
URGENT: variable scope undefined fix!
Browse files Browse the repository at this point in the history
FTFY: Variable scope issue with $valid in function update_user()
  • Loading branch information
ManeBit committed Jun 12, 2015
1 parent 1096ff9 commit ab64f61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions application/libraries/Aauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -682,6 +682,7 @@ public function create_user($email, $pass, $name='') {
public function update_user($user_id, $email = FALSE, $pass = FALSE, $name = FALSE) {

$data = array();
$valid = TRUE;

if ($email != FALSE) {
if ($this->user_exsist_by_email($email)) {
Expand Down

0 comments on commit ab64f61

Please sign in to comment.