mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Resolved critical bugs from scrutinizer
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
}
|
||||
|
||||
function clearStats($mailstats) {
|
||||
if (file_exists($mailstats) {
|
||||
if (file_exists($mailstats)) {
|
||||
$fp = fopen($mailstats, 'w');
|
||||
fwrite($fp, "mess_recv:0\n");
|
||||
fwrite($fp, "mess_rejected:0\n");
|
||||
|
Reference in New Issue
Block a user