Skip to content

Commit dec44a3

Browse files
committed
Bug fix: hide form in menu
1 parent 3dc2ff4 commit dec44a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

InstanceTable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,9 @@ protected function setTaggedFields() {
304304
}
305305

306306
if (!$this->isSurvey && preg_match("/".self::ACTION_TAG_HIDEFORMINMENU."/", $fieldDetails['field_annotation'])) {
307-
$hideStatus = $repeatingFormDetails['hide_form_in_menu'] = true;
307+
$repeatingFormDetails['hide_form_in_menu'] = true;
308308
} else {
309-
$hideStatus = $repeatingFormDetails['hide_form_in_menu'] = false;
309+
$repeatingFormDetails['hide_form_in_menu'] = false;
310310
}
311311

312312
// pick up option for custom sort order

0 commit comments

Comments
 (0)