diff options
author | Renato Botelho <renato@netgate.com> | 2015-08-28 08:46:24 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-08-28 08:46:24 -0300 |
commit | e2ee28b8aaa8960ccca3ae3cf23b1dd649d31e88 (patch) | |
tree | de5b1bde922b110f2eb48b32774e3fdf055539e4 | |
parent | 9e1bc7c03db0ab96df5ad65ccee17511c4ed1fcf (diff) | |
download | pfsense-packages-e2ee28b8aaa8960ccca3ae3cf23b1dd649d31e88.tar.gz pfsense-packages-e2ee28b8aaa8960ccca3ae3cf23b1dd649d31e88.tar.bz2 pfsense-packages-e2ee28b8aaa8960ccca3ae3cf23b1dd649d31e88.zip |
Add array keys between quotes, suggested by @doktornotor
-rwxr-xr-x | config/snort/snort.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc index 7b068f01..b7d4299e 100755 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -3748,8 +3748,8 @@ function snort_sync_on_changes() { $syncdownloadrules = $snort_sync['vardownloadrules']; switch ($synconchanges){ case "manual": - if (is_array($snort_sync[row])){ - $rs=$snort_sync[row]; + if (is_array($snort_sync['row'])){ + $rs=$snort_sync['row']; } else{ log_error("[snort] xmlrpc sync is enabled but there are no hosts configured as replication targets."); |