From f4cf1b14fc4c5a6507a069d16f4436465e5991cb Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 5 Mar 2013 01:41:16 +0000 Subject: [PATCH] * fix bug for no data when batchEdit user. --This line, and th se below, will be ignored-- M control.php --- module/user/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/user/control.php b/module/user/control.php index 8ef755e12d..f3238a7361 100644 --- a/module/user/control.php +++ b/module/user/control.php @@ -372,7 +372,7 @@ class user extends control } elseif($_POST) { - $this->user->batchEdit(); + if($this->post->account) $this->user->batchEdit(); die(js::locate($this->createLink('company', 'browse', "deptID=$deptID"), 'parent')); } $this->lang->set('menugroup.user', 'company');