Skip to content

Commit abcb68a

Browse files
authored
Fix error in daily.php (librenms#17892)
undefined array key 'f'
1 parent 714900e commit abcb68a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

daily.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
use LibreNMS\Validations\Php;
1717

1818
$options = getopt('df:o:t:r:');
19+
$options['f'] = isset($options['f']) ? $options['f'] : '';
1920

2021
/**
2122
* Scripts without dependencies

0 commit comments

Comments
 (0)