* Code for qc.
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user