no need to decode my URL

This commit is contained in:
Jean-Christian Denis 2023-04-07 22:25:13 +02:00
parent a8cec57cc5
commit 596fa4f3c8
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -44,8 +44,8 @@ class Backend extends dcNsProcess
$favs->register(My::id(), [ $favs->register(My::id(), [
'title' => My::name(), 'title' => My::name(),
'url' => dcCore::app()->adminurl?->get(My::id()), 'url' => dcCore::app()->adminurl?->get(My::id()),
'small-icon' => urldecode(dcPage::getPF(My::id() . '/icon.svg')), 'small-icon' => dcPage::getPF(My::id() . '/icon.svg'),
'large-icon' => urldecode(dcPage::getPF(My::id() . '/icon.svg')), 'large-icon' => dcPage::getPF(My::id() . '/icon.svg'),
//'permissions' => null, //'permissions' => null,
]); ]);
}, },