summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Dale <sdale@pfsense.org>2007-12-12 04:38:32 +0000
committerScott Dale <sdale@pfsense.org>2007-12-12 04:38:32 +0000
commitc49365821f41bab661210f318f2540cd3578d914 (patch)
tree8c50c115b90ea3c4af40cc3cae723b7b546fd1f0 /usr/local
parent775556abbeeb2262b5d161f860d14e48400fb40e (diff)
downloadpfsense-c49365821f41bab661210f318f2540cd3578d914.zip
pfsense-c49365821f41bab661210f318f2540cd3578d914.tar.gz
Correctly show and save DNS entries
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/system.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system.php b/usr/local/www/system.php
index 3744d85..387393e 100755
--- a/usr/local/www/system.php
+++ b/usr/local/www/system.php
@@ -236,7 +236,7 @@ include("head.inc");
<?php for($dnscounter=1; $dnscounter<5; $dnscounter++): ?>
<tr>
<td>
- <input name="dns{$dnscounter}" type="text" class="formfld unknown" id="dns{$dnscounter}" size="20" value="<?=htmlspecialchars($pconfig['dns{$dnscounter}']);?>">
+ <input name="dns<?php echo $dnscounter;?>" type="text" class="formfld unknown" id="dns<?php echo $dnscounter;?>" size="20" value="<?=htmlspecialchars($pconfig['dns' . $dnscounter]);?>">
</td>
<?php
if($multiwan) {
OpenPOWER on IntegriCloud