mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 05:37:32 +02:00
Issue #4918 - Undefined constant fix.
This commit is contained in:
@@ -1318,7 +1318,7 @@ function getperms($arg, $ap = ADMINPERMS, $path = e_SELF)
|
|||||||
{
|
{
|
||||||
// $ap = "4"; // Just for testing.
|
// $ap = "4"; // Just for testing.
|
||||||
|
|
||||||
if(!ADMIN || trim($ap) === '')
|
if(!deftrue('ADMIN') || trim($ap) === '')
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user