* [bug#51371,done,0.2h] set key of dao::error.

This commit is contained in:
liumengyi
2024-06-19 10:14:53 +08:00
committed by 田淑杰
parent 3afcbcec65
commit 2aba82e635
2 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -849,7 +849,7 @@ class userModel extends model
$oldUser = $this->getById($user->account);
if(!$oldUser)
{
dao::$errors[] = $this->lang->user->error->noUser;
dao::$errors['account'] = $this->lang->user->error->noUser;
return false;
}