diff --git a/lib/mfrc522/source/loop.php b/lib/mfrc522/source/loop.php index 1dc44b7..5841cd8 100755 --- a/lib/mfrc522/source/loop.php +++ b/lib/mfrc522/source/loop.php @@ -388,10 +388,10 @@ // {2} If not updated -> error // if( !$updateds ) - slog("Cannot update chips to '".implode('',$state)."'", 'mfrc522:loop'); + slog("Cannot update chips to '".implode('',get_gstate())."'", 'mfrc522:loop'); // {3} If updated -> success // else - slog("Chips updated to ".implode('',$state)."'", 'mfrc522:loop'); + slog("Chips updated to ".implode('',get_gstate())."'", 'mfrc522:loop'); /* (3) If not performed -> log error */ }else