Fixed reading feature list (etree)
This commit is contained in:
parent
a9fa7c5fad
commit
f20b69f084
|
@ -13,10 +13,10 @@
|
||||||
while( !$f->eof() ){
|
while( !$f->eof() ){
|
||||||
|
|
||||||
/* (1) Try to parse each line */
|
/* (1) Try to parse each line */
|
||||||
$etree = $f->fgets();
|
$etree = trim($f->fgets(), "\n");
|
||||||
|
|
||||||
/* (2) Manage error */
|
/* (2) Manage error */
|
||||||
if( is_null($etree) )
|
if( is_null($etree) || strlen($etree) == 0 )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* (3) Add entry to log */
|
/* (3) Add entry to log */
|
||||||
|
|
Loading…
Reference in New Issue