diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-12-22 13:51:00 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-12-22 13:51:00 -0500 |
commit | 36cefd8f27ab2cf3a24b921075c531f6aa095417 (patch) | |
tree | 1ea815db6ac884828476d7b8fdeafc8f19b25e37 /src/usr/local | |
parent | bd0d36bd2a6098e7c8beca29c923c65fe72aa315 (diff) | |
download | pfsense-36cefd8f27ab2cf3a24b921075c531f6aa095417.zip pfsense-36cefd8f27ab2cf3a24b921075c531f6aa095417.tar.gz |
Remove name collision in $width attribute
Diffstat (limited to 'src/usr/local')
-rw-r--r-- | src/usr/local/www/pkg_edit.php | 6 |
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 4f17b1e..6d70f37 100644 --- a/src/usr/local/www/pkg_edit.php +++ b/src/usr/local/www/pkg_edit.php @@ -299,7 +299,7 @@ function bootstrapTable($text) { * ROW helper function. Creates one element in the row from a PHP table by adding * the specified element to $group */ -function display_row($trc, $value, $fieldname, $type, $rowhelper, $description, $width = null) { +function display_row($trc, $value, $fieldname, $type, $rowhelper, $description, $ewidth = null) { global $text, $group; switch ($type) { @@ -313,8 +313,8 @@ function display_row($trc, $value, $fieldname, $type, $rowhelper, $description, $inpt->setHelp($description); - if ($width) { - $inpt->setWidth($width); + if ($ewidth) { + $inpt->setWidth($ewidth); } $group->add($inpt); |