* [bug#63831,done,0.2h] fix bug.

This commit is contained in:
sunguangming
2025-07-04 03:07:52 +00:00
parent f2b6087594
commit 5443a947ce
+6 -7
View File
@@ -21,24 +21,24 @@ sidebar
menu
(
setClass('menu'),
li
hasPriv('custom', 'hours') ? li
(
setClass('menu-item'),
a
(
set::href(hasPriv('custom', 'hours') ? createLink('custom', 'hours', 'type=hours') : ''),
set::href(createLink('custom', 'hours', 'type=hours')),
$lang->custom->setHours
)
),
li
) : null,
hasPriv('custom', 'hours') ? li
(
setClass('menu-item'),
a
(
set::href(hasPriv('custom', 'hours') ? createLink('custom', 'hours', 'type=weekend') : ''),
set::href(createLink('custom', 'hours', 'type=weekend')),
$lang->custom->setWeekend
)
),
) : null,
li
(
setClass('menu-item'),
@@ -111,4 +111,3 @@ panel
);
render();