mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 18:01:31 +02:00
fixes #958 : protect fields before copying properties from default user to new user
This commit is contained in:
@@ -873,7 +873,7 @@ function create_user_infos($user_ids, $override_values=null)
|
||||
}
|
||||
|
||||
$insert = array_merge(
|
||||
$default_user,
|
||||
array_map('pwg_db_real_escape_string', $default_user),
|
||||
array(
|
||||
'user_id' => $user_id,
|
||||
'status' => $status,
|
||||
|
||||
Reference in New Issue
Block a user