summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-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 391db71..5b7e2d8 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -113,7 +113,10 @@ if ($_POST) {
$oldsshport = $config['system']['ssh']['port'];
$config['system']['ssh']['port'] = $_POST['sshport'];
- $config['system']['polling'] = $_POST['polling_enable'] ? true : false;
+ if($_POST['polling_enable'] == "yes")
+ $config['system']['polling'] = true;
+ else
+ unset($config['system']['polling']);
if($_POST['sharednet'] == "yes") {
$config['system']['sharednet'] = true;
OpenPOWER on IntegriCloud