Also ignore nodelist lines that are blank

This commit is contained in:
Deon George 2021-09-11 19:26:11 +10:00
parent ff2b246d31
commit 04e8a899d4
1 changed files with 1 additions and 1 deletions

View File

@ -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