* Fix function bug.

This commit is contained in:
wangyuting
2023-11-22 01:35:59 +00:00
parent 78ad8f2053
commit 4e6ec6c8a3
+3 -2
View File
@@ -12,6 +12,8 @@ namespace zin;
$processTreeAction = function($tree) use (&$processTreeAction)
{
global $lang;
$canEditDept = hasPriv('dept', 'edit');
$canDeleteDept = hasPriv('dept', 'delete');
foreach($tree as $node)
@@ -88,8 +90,7 @@ sidebar
(
set::id('deptTree'),
set::items($tree),
set::hover(true),
set::itemActions($deptActions)
set::hover(true)
)
)
);