aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-08-28 08:46:24 -0300
committerRenato Botelho <renato@netgate.com>2015-08-28 08:46:24 -0300
commite2ee28b8aaa8960ccca3ae3cf23b1dd649d31e88 (patch)
treede5b1bde922b110f2eb48b32774e3fdf055539e4
parent9e1bc7c03db0ab96df5ad65ccee17511c4ed1fcf (diff)
downloadpfsense-packages-e2ee28b8aaa8960ccca3ae3cf23b1dd649d31e88.tar.gz
pfsense-packages-e2ee28b8aaa8960ccca3ae3cf23b1dd649d31e88.tar.bz2
pfsense-packages-e2ee28b8aaa8960ccca3ae3cf23b1dd649d31e88.zip
Add array keys between quotes, suggested by @doktornotor
-rwxr-xr-xconfig/snort/snort.inc4
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.");