Also ignore nodelist lines that are blank
This commit is contained in:
parent
ff2b246d31
commit
04e8a899d4
@ -103,7 +103,7 @@ class NodelistImport implements ShouldQueue
|
|||||||
$tocrc .= $line."\r\n";
|
$tocrc .= $line."\r\n";
|
||||||
|
|
||||||
// Lines beginning with a semicolon(;) are comments
|
// 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;
|
continue;
|
||||||
|
|
||||||
// Remove any embedded CR and BOM
|
// Remove any embedded CR and BOM
|
||||||
|
Loading…
Reference in New Issue
Block a user