* Show a friend message then locate to link.

This commit is contained in:
dingguodong
2023-08-29 14:13:37 +08:00
parent 626c3fb67c
commit e4eade6071
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -3763,7 +3763,7 @@ class execution extends control
$this->execution->setMenu($executionID);
$execution = $this->execution->getByID($executionID);
if(!empty($execution->acl) and $execution->acl != 'private') $this->locate($this->createLink('execution', 'task', "executionID=$executionID"));
if(!empty($execution->acl) and $execution->acl != 'private') return $this->sendError($this->lang->whitelistNotNeed, $this->createLink('execution', 'task', "executionID=$executionID"));
echo $this->fetch('personnel', 'whitelist', "objectID=$executionID&module=$module&browseType=$objectType&orderBy=$orderBy&recTotal=$recTotal&recPerPage=$recPerPage&pageID=$pageID");
}