We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be8cda6 commit 415fc85Copy full SHA for 415fc85
1 file changed
src/Plugin.php
@@ -40,7 +40,7 @@ public static function getHooks()
40
public static function getMenu(GenericEvent $event)
41
{
42
$menu = $event->getSubject();
43
- if ($GLOBALS['tf']->ima == 'admin') {
+ if (\MyAdmin\App::ima() == 'admin') {
44
function_requirements('has_acl');
45
if (has_acl('client_billing')) {
46
}
0 commit comments