mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Notify - Only show debug info to admins or when developer mode is active
This commit is contained in:
parent
281db68aa2
commit
26bc061e79
@ -216,7 +216,7 @@ class notify
|
||||
|
||||
}
|
||||
|
||||
if(E107_DEBUG_LEVEL > 0 || deftrue('e_DEBUG_NOTIFY'))
|
||||
if((ADMIN || $pref['developer']) && E107_DEBUG_LEVEL > 0 || deftrue('e_DEBUG_NOTIFY'))
|
||||
{
|
||||
$data = array('id'=>$id, 'subject'=>$subject, 'recipients'=> $recipients, 'prefs'=>$this->notify_prefs['event'][$id], 'message'=>$message);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user