summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_advanced.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-02-07 07:54:52 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-02-07 07:54:52 +0000
commit8e3bffefacd1b16c82aa4fd46cacb85b2c1ea82a (patch)
treed6e4d8923a6e9e06220262f137a40ef32e3302ea /usr/local/www/system_advanced.php
parent8f7685b12157e03128c44412570b0b591462a711 (diff)
downloadpfsense-8e3bffefacd1b16c82aa4fd46cacb85b2c1ea82a.zip
pfsense-8e3bffefacd1b16c82aa4fd46cacb85b2c1ea82a.tar.gz
Expand new rule loading error logic to Advanced menu
Diffstat (limited to 'usr/local/www/system_advanced.php')
-rwxr-xr-xusr/local/www/system_advanced.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php
index d9b04a2..176003e 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -132,7 +132,10 @@ if ($_POST) {
$retval |= interfaces_optional_configure();
config_unlock();
}
- $savemsg = get_std_save_message($retval);
+ if(stristr($retval, "error") <> true)
+ $savemsg = get_std_save_message($retval);
+ else
+ $savemsg = $retval;
/* Setup pf rules since the user may have changed the optimization value */
config_lock();
OpenPOWER on IntegriCloud