- fix

parent bd8eb0b9
......@@ -684,14 +684,14 @@ class User extends \common\components\ActiveRecordModel implements IdentityInter
$this->addError('email', current(current($user->getErrors())));
return false;
} else
return current(current($user->getErrors())).'asd';
return current(current($user->getErrors()));
}
} else {
if ($return===false) {
$this->addError('email', $init);
return false;
} else {
return $init;
return $init.'asd';
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment