From 937079709514c037959d691c0d653c39d5ea84e6 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 28 May 2016 20:26:23 -0400 Subject: Minor fixes --- app/Import/UserImport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Import/UserImport.php') 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 { -- cgit v1.2.3