mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 19:29:58 +03:00
parent
3881377d64
commit
f7e44cc14e
2 changed files with 2 additions and 7 deletions
|
@ -919,14 +919,9 @@ function create_user_infos($user_ids, $override_values=null)
|
|||
{
|
||||
$status = 'normal';
|
||||
}
|
||||
|
||||
$pwg_db_real_escape_string = function($str)
|
||||
{
|
||||
return isset($str) ? pwg_db_real_escape_string($str) : '';
|
||||
};
|
||||
|
||||
$insert = array_merge(
|
||||
array_map($pwg_db_real_escape_string, $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