Fixed loading permissions from plugin.yaml
This commit is contained in:
parent
fade9413d9
commit
d58b6d4d51
|
|
@ -106,7 +106,7 @@ class PluginBase extends ServiceProviderBase
|
|||
|
||||
if (is_array($navigation)) {
|
||||
array_walk_recursive($navigation, function(&$item, $key){
|
||||
if ($key == 'url') {
|
||||
if ($key === 'url') {
|
||||
$item = Backend::url($item);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue