diff --git a/app/Jobs/NodelistImport.php b/app/Jobs/NodelistImport.php index 5c6510d..0197ce0 100644 --- a/app/Jobs/NodelistImport.php +++ b/app/Jobs/NodelistImport.php @@ -103,7 +103,7 @@ class NodelistImport implements ShouldQueue $tocrc .= $line."\r\n"; // Lines beginning with a semicolon(;) are comments - if (preg_match('/^;/',$line) OR ($line == chr(0x1a))) + if ((! $line) OR preg_match('/^;/',$line) OR ($line == chr(0x1a))) continue; // Remove any embedded CR and BOM