mirror of
https://github.com/friendica/friendica
synced 2024-11-10 06:22:53 +00:00
Merge pull request #4461 from annando/bugfix-uimport
Issue 4396: WSOD with uimport
This commit is contained in:
commit
029df40b87
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ class UserImport
|
|||
unset($arr['id']);
|
||||
}
|
||||
|
||||
self::check_cols($table, $arr);
|
||||
self::checkCols($table, $arr);
|
||||
$cols = implode("`,`", array_map('dbesc', array_keys($arr)));
|
||||
$vals = implode("','", array_map('dbesc', array_values($arr)));
|
||||
$query = "INSERT INTO `$table` (`$cols`) VALUES ('$vals')";
|
||||
|
|
Loading…
Reference in a new issue