aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim P <jim@pingle.org>2014-01-08 09:50:09 -0800
committerJim P <jim@pingle.org>2014-01-08 09:50:09 -0800
commit141c1dc4774370210c41580da5ba897bc54c8e12 (patch)
tree4cd3a75b2fc6394c8692a1ed99ea75eb4ee2d575
parentbba16f4e05dcde0e7b23935e9739c3f86cbacdb7 (diff)
parent69aa04e749acad79a48efda5291b11f40e9d9a1f (diff)
downloadpfsense-packages-141c1dc4774370210c41580da5ba897bc54c8e12.tar.gz
pfsense-packages-141c1dc4774370210c41580da5ba897bc54c8e12.tar.bz2
pfsense-packages-141c1dc4774370210c41580da5ba897bc54c8e12.zip
Merge pull request #570 from danhunsaker/bugfix/mailreport/more-freqs-iface-bugs
Resolved interface bugs preventing new frequencies from displaying properly
-rw-r--r--config/mailreport/status_mail_report_edit.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/config/mailreport/status_mail_report_edit.php b/config/mailreport/status_mail_report_edit.php
index 6572c370..0baa9aa6 100644
--- a/config/mailreport/status_mail_report_edit.php
+++ b/config/mailreport/status_mail_report_edit.php
@@ -258,7 +258,7 @@ include("head.inc");
<td class="vtable" colspan="3">
<select name="dayofmonth">
<?php foreach($dayofmonth as $dom): ?>
- <option value="<?php echo $dom; ?>" <?php if($pconfig["dayofmonth"] === $dom) echo "selected"; ?>><?php echo $dom; ?></option>
+ <option value="<?php echo $dom; ?>" <?php if($pconfig["dayofmonth"] == $dom) echo "selected"; ?>><?php echo $dom; ?></option>
<?php endforeach; ?>
</select>
<br/>Select the day of the month to send the report. Only valid for monthly and yearly reports.
@@ -270,8 +270,8 @@ include("head.inc");
<td class="vncell" valign="top" colspan="1">Time of Quarter</td>
<td class="vtable" colspan="3">
<select name="monthofquarter">
- <?php foreach($monthofquarter as $moq): ?>
- <option value="<?php echo $moq; ?>" <?php if($pconfig["monthofquarter"] === $moq) echo "selected"; ?>><?php echo $moq; ?></option>
+ <?php foreach($monthofquarter as $moqi => $moq): ?>
+ <option value="<?php echo $moqi; ?>" <?php if($pconfig["monthofquarter"] == $moqi) echo "selected"; ?>><?php echo $moq; ?></option>
<?php endforeach; ?>
</select>
<br/>Select the time of the quarter to send the report. Only valid for quarter reports.
@@ -283,8 +283,8 @@ include("head.inc");
<td class="vncell" valign="top" colspan="1">Month of the Year</td>
<td class="vtable" colspan="3">
<select name="monthofyear">
- <?php foreach($monthofyear as $moy): ?>
- <option value="<?php echo $moy; ?>" <?php if($pconfig["monthofyear"] === $moy) echo "selected"; ?>><?php echo $moy; ?></option>
+ <?php foreach($monthofyear as $moyi => $moy): ?>
+ <option value="<?php echo $moyi; ?>" <?php if($pconfig["monthofyear"] == $moyi) echo "selected"; ?>><?php echo $moy; ?></option>
<?php endforeach; ?>
</select>
<br/>Select the month of the year to send the report. Only valid for yearly reports.