* Code for qc.

This commit is contained in:
Yagami
2020-08-14 11:13:53 +08:00
parent ba50010878
commit 89eb2e6f34
10 changed files with 40 additions and 26 deletions

View File

@@ -117,7 +117,7 @@ class dept extends control
{
/* Check this dept when delete. */
$sons = $this->dept->getSons($deptID);
$users = $this->dept->getUsers($deptID);
$users = $this->dept->getUsers('all', $deptID);
if($sons) die(js::alert($this->lang->dept->error->hasSons));
if($users) die(js::alert($this->lang->dept->error->hasUsers));