summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces_ppps_edit.php
diff options
context:
space:
mode:
authorgnhb <gnoahb@gmail.com>2010-08-22 22:49:27 +0700
committergnhb <gnoahb@gmail.com>2010-08-22 22:49:27 +0700
commit515c679931d41360f94bf62973bc1daf096c6382 (patch)
tree7625a7f220f1315a87cca9bf3446b4b98ac2d321 /usr/local/www/interfaces_ppps_edit.php
parent03184eda18afec70fbbb3a791a3f29843b860d84 (diff)
downloadpfsense-515c679931d41360f94bf62973bc1daf096c6382.zip
pfsense-515c679931d41360f94bf62973bc1daf096c6382.tar.gz
Remove duplicate logic.
Diffstat (limited to 'usr/local/www/interfaces_ppps_edit.php')
-rw-r--r--usr/local/www/interfaces_ppps_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/interfaces_ppps_edit.php b/usr/local/www/interfaces_ppps_edit.php
index 7aa65de..b99d3d1 100644
--- a/usr/local/www/interfaces_ppps_edit.php
+++ b/usr/local/www/interfaces_ppps_edit.php
@@ -593,7 +593,7 @@ $types = array("select" => gettext("Select"), "ppp" => "PPP", "pppoe" => "PPPoE"
<tr>
<td width="22%" valign="top" class="vncell"><?= gettext("Service name"); ?></td>
<td width="78%" class="vtable"><input name="provider" type="text" class="formfld unknown" id="provider" size="20" value="<?=htmlspecialchars($pconfig['provider']);?>">&nbsp;&nbsp;
- <input type="checkbox" value="on" id="null_service" name="null_service" <?php if (isset($pconfig['provider']) and empty($pconfig['provider'])) echo "checked"; ?>> <?= gettext("Configure a NULL Service name"); ?>
+ <input type="checkbox" value="on" id="null_service" name="null_service" <?php if (isset($pconfig['null_service'])) echo "checked"; ?>> <?= gettext("Configure a NULL Service name"); ?>
<br/> <span class="vexpl"><?= gettext("Hint: this field can usually be left empty. If empty Service name will not be configured. Check the \"Configure NULL\" box to configure a blank Service name."); ?></span>
</td>
</tr>
OpenPOWER on IntegriCloud