https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcd896c
)
Issue 4396: WSOD with uimport
author
Michael
<heluecht@pirati.ca>
Wed, 14 Feb 2018 23:13:53 +0000
(23:13 +0000)
committer
Michael
<heluecht@pirati.ca>
Wed, 14 Feb 2018 23:13:53 +0000
(23:13 +0000)
src/Core/UserImport.php
patch
|
blob
|
history
diff --git
a/src/Core/UserImport.php
b/src/Core/UserImport.php
index
051f999
..
801deda
100644
(file)
--- a/
src/Core/UserImport.php
+++ b/
src/Core/UserImport.php
@@
-68,7
+68,7
@@
class UserImport
unset($arr['id']);
}
- self::check
_c
ols($table, $arr);
+ self::check
C
ols($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')";