[Fix] while loops negate condition
This commit is contained in:
parent
3d0002a1a0
commit
9f7da3f040
|
@ -37,7 +37,7 @@
|
|||
$f_auth->seek(0);
|
||||
|
||||
/* (2) Parse each line */
|
||||
while( $f_auth->eof() ){
|
||||
while( !$f_auth->eof() ){
|
||||
|
||||
/* (3) Try to parse line */
|
||||
$parsed = json_decode($f_auth->fgets(), true);
|
||||
|
@ -235,7 +235,7 @@
|
|||
/* [2] Parse ACTIONS and cache them
|
||||
=========================================================*/
|
||||
/* (1) Parse each line */
|
||||
while( $f_actions->eof() ){
|
||||
while( !$f_actions->eof() ){
|
||||
|
||||
/* (2) Try to parse line */
|
||||
$parsed = json_decode($f_actions->fgets(), true);
|
||||
|
|
Loading…
Reference in New Issue