summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_rules_edit.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-11-11 13:56:37 -0500
committerStephen Beaver <sbeaver@netgate.com>2015-11-11 13:57:14 -0500
commit9d713b38d11242b93b41831297a8084c66e6803b (patch)
tree6f84ace769e9e207bcaad1ecf35a776514f5f077 /src/usr/local/www/firewall_rules_edit.php
parent680e4db5a1dc67fb6d3993e4e8f2c67436b3d5dd (diff)
downloadpfsense-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.php4
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');
OpenPOWER on IntegriCloud