summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-12-08 10:48:17 -0500
committerjim-p <jimp@pfsense.org>2015-12-08 10:48:17 -0500
commit2512e643d9122368cda88f50c12479f689aca728 (patch)
tree89ea5c91720f21f59e6daa018ee98a95ee0d3bd1 /src/usr
parent5605a0c434220e5abfbaadc3c4c160f409d94236 (diff)
downloadpfsense-2512e643d9122368cda88f50c12479f689aca728.zip
pfsense-2512e643d9122368cda88f50c12479f689aca728.tar.gz
Fix field description/name display of select_source package fields.
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/www/pkg_edit.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/pkg_edit.php b/src/usr/local/www/pkg_edit.php
index 03c4f3a..f9c0f38 100644
--- a/src/usr/local/www/pkg_edit.php
+++ b/src/usr/local/www/pkg_edit.php
@@ -870,7 +870,7 @@ foreach ($pkg['fields']['field'] as $pkga) {
if($grouping) {
$group->add(new Form_Select(
$pkga['fieldname'],
- $pkga['name'],
+ strip_tags($pkga['fielddescr']),
isset($pkga['multiple']) ? $srcselected:$srcselected[0],
$srcoptions,
isset($pkga['multiple'])
@@ -879,7 +879,7 @@ foreach ($pkg['fields']['field'] as $pkga) {
if (isset($pkga['advancedfield']) && isset($advfield_count)) {
$advanced->addInput(new Form_Select(
$pkga['fieldname'],
- $pkga['name'],
+ strip_tags($pkga['fielddescr']),
isset($pkga['multiple']) ? $srcselected:$srcselected[0],
$srcoptions,
isset($pkga['multiple'])
@@ -887,7 +887,7 @@ foreach ($pkg['fields']['field'] as $pkga) {
} else {
$section->addInput(new Form_Select(
$pkga['fieldname'],
- $pkga['name'],
+ strip_tags($pkga['fielddescr']),
isset($pkga['multiple']) ? $srcselected:$srcselected[0],
$srcoptions,
isset($pkga['multiple'])
OpenPOWER on IntegriCloud