diff --git a/mod/register.php b/mod/register.php index 81919df10..ee614f64d 100644 --- a/mod/register.php +++ b/mod/register.php @@ -134,7 +134,7 @@ function register_post(App $a) } // send email to admins - $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 );