summaryrefslogtreecommitdiff
path: root/app/Import/UserImport.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Import/UserImport.php')
-rw-r--r--app/Import/UserImport.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Import/UserImport.php b/app/Import/UserImport.php
index c877e82a..304a3254 100644
--- a/app/Import/UserImport.php
+++ b/app/Import/UserImport.php
@@ -56,7 +56,7 @@ class UserImport extends Base
$row = $this->prepare($row);
if ($this->validateCreation($row)) {
- if ($this->userModel->create($row)) {
+ if ($this->userModel->create($row) !== false) {
$this->logger->debug('UserImport: imported successfully line '.$line_number);
$this->counter++;
} else {