Issue 4396: WSOD with uimport
authorMichael <heluecht@pirati.ca>
Wed, 14 Feb 2018 23:13:53 +0000 (23:13 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 14 Feb 2018 23:13:53 +0000 (23:13 +0000)
src/Core/UserImport.php

index 051f999..801deda 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')";