Fix dbesc as a constant notice message
This commit is contained in:
parent
e627054f68
commit
3255b2364b
|
@ -53,7 +53,7 @@ class DBStructure
|
|||
$a = get_app();
|
||||
|
||||
//send the administrators an e-mail
|
||||
$admin_mail_list = "'".implode("','", array_map(dbesc, explode(",", str_replace(" ", "", $a->config['admin_email']))))."'";
|
||||
$admin_mail_list = "'".implode("','", array_map('dbesc', explode(",", str_replace(" ", "", $a->config['admin_email']))))."'";
|
||||
$adminlist = q("SELECT uid, language, email FROM user WHERE email IN (%s)",
|
||||
$admin_mail_list
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue