mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 11:49:56 +03:00
fixes #958 : protect fields before copying properties from default user to new user
This commit is contained in:
parent
b05241f508
commit
beec234478
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue