Fix show filemanager icon

This commit is contained in:
Fred Tempez 2023-07-01 19:04:39 +02:00
parent dabc0a4c2e
commit 3af3db940c

View File

@ -503,7 +503,7 @@ class layout extends common
) {
if (
$this->getUser('group') >= self::GROUP_MEMBER &&
$this->getUser('permission', 'folder', 'share') === true
$this->getUser('permission', 'filemanager') === true
) {
$itemsRight .= '<li>' . template::ico('folder', [
'href' => helper::baseUrl(false) . 'core/vendor/filemanager/dialog.php?type=0&akey=' . md5_file(self::DATA_DIR . 'core.json') . '&lang=' . $this->getData(['user', $this->getUser('id'), 'language']),