diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-02-07 07:54:52 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-02-07 07:54:52 +0000 |
commit | 8e3bffefacd1b16c82aa4fd46cacb85b2c1ea82a (patch) | |
tree | d6e4d8923a6e9e06220262f137a40ef32e3302ea /usr/local/www/system_advanced.php | |
parent | 8f7685b12157e03128c44412570b0b591462a711 (diff) | |
download | pfsense-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-x | usr/local/www/system_advanced.php | 5 |
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(); |