fixes #958 : protect fields before copying properties from default user to new user

This commit is contained in:
Teatek
2019-01-27 16:52:15 +01:00
committed by Pierrick Le Gall
parent b05241f508
commit beec234478
+1 -1
View File
@@ -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,