Skip to content

Commit

Permalink
Fixed issue #16955: Save and close in Group Editor not working (when …
Browse files Browse the repository at this point in the history
…editing existing group) (#1759)
  • Loading branch information
gabrieljenik committed Feb 25, 2021
1 parent 4b5723f commit 29799db
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -735,7 +735,7 @@ public function actionSaveQuestionGroupData($sid)

$landOnSideMenuTab = 'structure';
if (empty($sScenario)) {
if (App()->request->getPost('save-and-close', '')) {
if (App()->request->getPost('close-after-save', '')) {
$sScenario = 'save-and-close';
} elseif (App()->request->getPost('saveandnew', '')) {
$sScenario = 'save-and-new';
Expand Down

0 comments on commit 29799db

Please sign in to comment.