1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 16:46:50 +02:00

Fixes #4790 - e_DEBUG not defined.

This commit is contained in:
Cameron
2022-06-12 11:05:05 -07:00
parent 52cf8f5bfa
commit ce3f0be05a
4 changed files with 4 additions and 4 deletions

View File

@@ -176,7 +176,7 @@ if(!class_exists('plugin_pm_pm_shortcodes'))
{
$frm = e107::getForm();
$exclude = (getperms('0') && e_DEBUG === true) ? false : true;
$exclude = (getperms('0') && deftrue('e_DEBUG')) ? false : true;
$ret = $frm->userlist('pm_to',null,array('excludeSelf'=>$exclude, 'default'=>'blank', 'classes'=>varset($this->pmPrefs['send_to_class'], e_UC_MEMBER)));
}