diff options
author | Ermal <eri@pfsense.org> | 2011-07-15 19:11:41 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-07-15 19:24:58 +0000 |
commit | 2a9eb3263ca4f9d08970e20ccedb2e76364675f9 (patch) | |
tree | 65e2116b71db3e4e81d5e2148ef0792b4f2b6aee /usr/local | |
parent | f06efc954b31bf6b4267b706cb48881a616f0e58 (diff) | |
download | pfsense-2a9eb3263ca4f9d08970e20ccedb2e76364675f9.zip pfsense-2a9eb3263ca4f9d08970e20ccedb2e76364675f9.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; ?> |