mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Correctly check if SpamD enablerrd is set.
This commit is contained in:
parent
82d0dfc460
commit
4540f1ff82
@ -2083,7 +2083,7 @@ function enable_rrd_graphing()
|
||||
</BODY>
|
||||
</HTML>";
|
||||
|
||||
if(isset($config['installedpackages']['spamdsettings']['config']['enablerrd'])) {
|
||||
if(isset($config['installedpackages']['spamdsettings']['config'][0]['enablerrd'])) {
|
||||
/* set up the spamd rrd file */
|
||||
if(! file_exists("$rrddbpath$spamd")) {
|
||||
/* create rrd file if it does not exist */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user