From 1b5b6d7e5ec92f5f728b5e4cef2ed7c4f39dc570 Mon Sep 17 00:00:00 2001 From: zenggang Date: Thu, 28 Jul 2022 07:21:35 +0000 Subject: [PATCH] * Fix bug#25799 --- module/user/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/user/model.php b/module/user/model.php index 8afd9f4677..404f016840 100644 --- a/module/user/model.php +++ b/module/user/model.php @@ -398,7 +398,7 @@ class userModel extends model $users = fixer::input('post')->get(); $data = array(); $accounts = array(); - for($i = 1; $i < $this->config->user->batchCreate; $i++) + for($i = 1; $i <= $this->config->user->batchCreate; $i++) { $users->account[$i] = trim($users->account[$i]); if($users->account[$i] != '')