diff --git a/lib/mfrc522/source/loop.php b/lib/mfrc522/source/loop.php index 40ba802..b11aea8 100755 --- a/lib/mfrc522/source/loop.php +++ b/lib/mfrc522/source/loop.php @@ -292,6 +292,8 @@ /* [3] Check global state =========================================================*/ /* (1) Check file */ + $gstate = $f_gstate->current(); + if( $f_gstate === false ) return 127;