Skip to content

Commit 77654eb

Browse files
committed
avoid notice
1 parent af498fb commit 77654eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public_html/lists/admin/accesscheck.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function isSuperUser()
3737
if (defined('WEBBLER') || defined('IN_WEBBLER')) {
3838
return 1;
3939
}
40-
if ($GLOBALS['commandline']) {
40+
if (!empty($GLOBALS['commandline'])) {
4141
return true;
4242
}
4343
global $tables;

0 commit comments

Comments
 (0)