From d2cfbb076fec37d61e2a5b479fdda7b2e7217456 Mon Sep 17 00:00:00 2001 From: Paul Hachmang Date: Mon, 1 Sep 2014 11:34:56 +0200 Subject: [PATCH] [Fix] Load line 0 when there is no line specified. --- app/code/community/Ho/Import/Model/Import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/community/Ho/Import/Model/Import.php b/app/code/community/Ho/Import/Model/Import.php index 75a1694..974130a 100644 --- a/app/code/community/Ho/Import/Model/Import.php +++ b/app/code/community/Ho/Import/Model/Import.php @@ -150,7 +150,7 @@ public function mapLines($lines) $this->_downloader(); - if ($lines === '0') { + if (! $lines) { $lines = array(0); } else { $lines = $lines ? explode(',', $lines) : array();