summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/usr/local/www/pkg_edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/pkg_edit.php b/src/usr/local/www/pkg_edit.php
index a228739..bfb4514 100644
--- a/src/usr/local/www/pkg_edit.php
+++ b/src/usr/local/www/pkg_edit.php
@@ -1109,7 +1109,7 @@ foreach ($pkg['fields']['field'] as $pkga) {
$grp->setWidth($pkga['width']);
}
- if (grouping) {
+ if ($grouping) {
$group->add($grp);
} else {
if (isset($pkga['advancedfield']) && isset($advfield_count)) {
@@ -1293,7 +1293,7 @@ foreach ($pkg['fields']['field'] as $pkga) {
);
$newbtn->addClass($newbtnclass);
- if (grouping) {
+ if ($grouping) {
$group->add(new Form_StaticText(
null,
$newbtn . '<br />' . '<div class="help-block">' . fixup_string($pkga['description']) . '</div>'
OpenPOWER on IntegriCloud