diff --git a/lib/import_functions.php b/lib/import_functions.php index 23a52f4e..84177215 100644 --- a/lib/import_functions.php +++ b/lib/import_functions.php @@ -541,7 +541,7 @@ private function getModifyDetails($lines) { array_merge(array($currentLine),$lines)); $currentLine = array_shift($lines); - if (trim($currentLine)) + if (is_string($currentLine) && trim($currentLine) !== '') $processline = true; }