1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-21 13:11:52 +02:00

Issue #4918 - Undefined constant fix.

This commit is contained in:
Cameron 2023-01-14 19:01:52 -08:00
parent e6dc147074
commit fbcef7a3c6

View File

@ -1318,7 +1318,7 @@ function getperms($arg, $ap = ADMINPERMS, $path = e_SELF)
{
// $ap = "4"; // Just for testing.
if(!ADMIN || trim($ap) === '')
if(!deftrue('ADMIN') || trim($ap) === '')
{
return false;
}