leiweibau / Pi.Alert

Scan the devices connected to your WIFI / LAN and alert you the connection of unknown devices. It also warns if a "always connected" device disconnects. In addition, it is possible to check web services for availability. For this purpose HTTP status codes and the response time of the service are evaluated.
https://leiweibau.net
GNU General Public License v3.0
428 stars 31 forks source link

:bug: Fix "Undefined variable $report_counter" #304

Closed Striffly closed 4 months ago

Striffly commented 5 months ago

I didn't quite understand why the variable $report_counter is unset. If this is important, feel free to correct my change.

leiweibau commented 4 months ago

The variable is unset in the event of a "0" so that the badge is empty at the top and does not display a red "0"

I've just tested it again and it's obviously just a remnant of the previous implementation. So I can really delete the line