summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_advanced.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-01 17:58:36 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-01 17:58:36 +0000
commitd1975a6ab567f445dc2cdd70b2f20d007c139671 (patch)
tree4e931f68d008c1bf9ca78c838a53fbdb1ca5c4da /usr/local/www/system_advanced.php
parent1c8959358b73dcff076737af2ece5998b3e80c0f (diff)
downloadpfsense-d1975a6ab567f445dc2cdd70b2f20d007c139671.zip
pfsense-d1975a6ab567f445dc2cdd70b2f20d007c139671.tar.gz
Correctly save hard disk standby time
Ticket #278
Diffstat (limited to 'usr/local/www/system_advanced.php')
-rwxr-xr-xusr/local/www/system_advanced.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php
index 4775a90..decda30 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -137,7 +137,7 @@ if ($_POST) {
else
unset($config['system']['enableserial']);
- if($_POST['harddiskstandby'] == "yes") {
+ if($_POST['harddiskstandby'] <> "") {
$config['system']['harddiskstandby'] = "yes";
system_set_harddisk_standby();
} else
OpenPOWER on IntegriCloud