From 36cefd8f27ab2cf3a24b921075c531f6aa095417 Mon Sep 17 00:00:00 2001 From: Stephen Beaver Date: Tue, 22 Dec 2015 13:51:00 -0500 Subject: Remove name collision in $width attribute --- src/usr/local/www/pkg_edit.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/usr/local/www/pkg_edit.php') 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); -- cgit v1.1