You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bundles/org.zikula.modulestudio.generator/src/org/zikula/modulestudio/generator/cartridges/zclassic/controller/FormHandler.xtend
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -889,7 +889,7 @@ class FormHandler {
889
889
$args['commandName'] = $action['id'];
890
890
}
891
891
}
892
-
if ($this->templateParameters['mode'] == 'create' && $this->form->get('submitrepeat')->isClicked()) {
892
+
if ($this->templateParameters['mode'] == 'create' && $this->form->has('submitrepeat') && $this->form->get('submitrepeat')->isClicked()) {
893
893
$args['commandName'] = 'submit';
894
894
$this->repeatCreateAction = true;
895
895
}
@@ -1384,7 +1384,7 @@ class FormHandler {
1384
1384
$args['commandName'] = $action['id'];
1385
1385
}
1386
1386
}
1387
-
if ($this->templateParameters['mode'] =='create'&& $this->form->get('submitrepeat')->isClicked()) {
1387
+
if ($this->templateParameters['mode'] =='create'&& $this->form->has('submitrepeat') && $this->form->get('submitrepeat')->isClicked()) {
0 commit comments