mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 12:21:45 +02:00
Removed old deprecated global $e107_debug. Cleaned up debug_handler.php (e107_debug class)
This commit is contained in:
@@ -540,7 +540,7 @@ class eMessage
|
||||
|
||||
foreach ($typesArray as $type)
|
||||
{
|
||||
if(E_MESSAGE_DEBUG === $type && !deftrue('E107_DEBUG_LEVEL'))
|
||||
if(E_MESSAGE_DEBUG === $type && (!deftrue('E107_DEBUG_LEVEL') || !ADMIN))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user