diff options
author | Ermal <eri@pfsense.org> | 2011-07-15 19:11:41 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-07-15 19:11:41 +0000 |
commit | 8f864d33eac460cc34189b7eb399144a2975f880 (patch) | |
tree | 56f8786ef0280c1ee07d3b9154f164793b543f5d /usr/local | |
parent | ed7c364d3a99ae62d89e1d31a29ad3b81b55266a (diff) | |
download | pfsense-8f864d33eac460cc34189b7eb399144a2975f880.zip pfsense-8f864d33eac460cc34189b7eb399144a2975f880.tar.gz |
Add checks to prevent php warnings.
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/status_filter_reload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/status_filter_reload.php b/usr/local/www/status_filter_reload.php index e413ce2..a5dd334 100644 --- a/usr/local/www/status_filter_reload.php +++ b/usr/local/www/status_filter_reload.php @@ -70,7 +70,7 @@ include("head.inc"); <br/> <form action="status_filter_reload.php" method="POST" name="filter"> <input type="submit" value="Reload Filter" name="reloadfilter" id="reloadfilter"> -<?php if (is_array($config["installedpackages"]["carpsettings"]["config"][0]) && $config["installedpackages"]["carpsettings"]["config"][0]["synchronizetoip"] != ""): ?> +<?php if (is_array($config["installedpackages"]["carpsettings"]) && is_array($config["installedpackages"]["carpsettings"]["config"][0]) && $config["installedpackages"]["carpsettings"]["config"][0]["synchronizetoip"] != ""): ?> <input type="submit" value="Force Config Sync" name="syncfilter" id="syncfilter"> <? endif; ?> |