diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-11-11 13:56:37 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-11-11 13:57:14 -0500 |
commit | 9d713b38d11242b93b41831297a8084c66e6803b (patch) | |
tree | 6f84ace769e9e207bcaad1ecf35a776514f5f077 /src/usr/local/www/firewall_rules_edit.php | |
parent | 680e4db5a1dc67fb6d3993e4e8f2c67436b3d5dd (diff) | |
download | pfsense-9d713b38d11242b93b41831297a8084c66e6803b.zip pfsense-9d713b38d11242b93b41831297a8084c66e6803b.tar.gz |
Fixed #5418
Diffstat (limited to 'src/usr/local/www/firewall_rules_edit.php')
-rw-r--r-- | src/usr/local/www/firewall_rules_edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php index 431a3fe..c93b73a 100644 --- a/src/usr/local/www/firewall_rules_edit.php +++ b/src/usr/local/www/firewall_rules_edit.php @@ -1540,7 +1540,7 @@ $section->addInput(new Form_Select( $vlanprio ))->setHelp('Choose 802.1p priority to apply'); -$schedules = array('none'); //leave none to leave rule enabled all the time +$schedules = array(); foreach ((array)$config['schedules']['schedule'] as $schedule) { if ($schedule['name'] != "") @@ -1551,7 +1551,7 @@ $section->addInput(new Form_Select( 'sched', 'Schedule', $pconfig['sched'], - $schedules + ['' => 'none'] + array_combine($schedules, $schedules) ))->setHelp('Leave as \'none\' to leave the rule enabled all the time'); $gateways = array("" => 'default'); |