mirror of
https://github.com/friendica/friendica
synced 2024-12-23 06:00:15 +00:00
Patch for #5202
Add quotes to an erroneously unquoted callback so that PHP doesn’t treat it as a global constant.
This commit is contained in:
parent
5d2fce417d
commit
6365cf955c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue