diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-05-31 00:36:06 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-05-31 00:36:06 +0000 |
commit | 34591684be46a603b90e57a67718b811e14c0f05 (patch) | |
tree | 72cfa7eaaf340cb967e9161396f8dd8a86443465 | |
parent | 7f3473592d00fd169d90251da92fdb4c3b807e66 (diff) | |
download | pfsense-34591684be46a603b90e57a67718b811e14c0f05.zip pfsense-34591684be46a603b90e57a67718b811e14c0f05.tar.gz |
Look at the correct field to deterimine which item should be selected in the interfaces_selection widget
-rwxr-xr-x | usr/local/www/pkg_edit.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/pkg_edit.php b/usr/local/www/pkg_edit.php index 805f8ad..3ac2429 100755 --- a/usr/local/www/pkg_edit.php +++ b/usr/local/www/pkg_edit.php @@ -366,8 +366,9 @@ if ($pkg['tabs'] <> "") { $ifdescr = strtoupper($ifname); $ifname = $iface['descr']; $SELECTED = ""; - if($value == $ifname) $SELECTED = " SELECTED"; + if($value == $ifdescr) $SELECTED = " SELECTED"; echo "<option value='" . $ifdescr . "'" . $SELECTED . ">" . $ifdescr . "</option>\n"; + echo "<!-- {$value} -->"; } echo "</select>\n"; echo "<br>" . fixup_string($pkga['description']) . "\n"; |