]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #4461 from annando/bugfix-uimport
authorHypolite Petovan <mrpetovan@gmail.com>
Wed, 14 Feb 2018 23:32:11 +0000 (18:32 -0500)
committerGitHub <noreply@github.com>
Wed, 14 Feb 2018 23:32:11 +0000 (18:32 -0500)
Issue 4396: WSOD with uimport

src/Core/UserImport.php

index 051f99926e219bb7fbd34da00ec693de876a8056..801deda0af2c26c453bc417fb473167937c392d8 100644 (file)
@@ -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')";