From: Hypolite Petovan Date: Sat, 7 Jul 2018 20:31:03 +0000 (-0400) Subject: Fix dbesc as a constant notice message X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3255b2364b3727618ec28855948c9b7f2992fa06;p=friendica.git Fix dbesc as a constant notice message --- diff --git a/src/Database/DBStructure.php b/src/Database/DBStructure.php index 5c03c1afd6..00ab09ccf2 100644 --- a/src/Database/DBStructure.php +++ b/src/Database/DBStructure.php @@ -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 );