From 868753ed8c5b21978a57fb383fc54759c0804e1f Mon Sep 17 00:00:00 2001 From: Pavel Dmitriev Date: Sun, 22 Jan 2023 11:34:09 +0300 Subject: [PATCH] sonar fix --- barcodeScanner.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/barcodeScanner.php b/barcodeScanner.php index a3f4a41..8c32a34 100644 --- a/barcodeScanner.php +++ b/barcodeScanner.php @@ -69,7 +69,7 @@ function scanner($channel, $port) { } while (1) { - $buffer = fgets($fp, 4096); + $buffer = fgets($fp, 4096); $rv=explode("\n", $buffer); if ($buffer === false) { if (!empty($routingTag)) {