Skip to content

Commit

Permalink
Fixed issue #13426: No message displayed when saving general survey s…
Browse files Browse the repository at this point in the history
…ettings
  • Loading branch information
olleharstedt committed Feb 28, 2018
1 parent 7b7ba8b commit 4ab24f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/database.php
Expand Up @@ -1126,12 +1126,12 @@ protected function actionUpdateSurveyLocaleSettingsGeneralSettings($iSurveyID)
// This will force the generation of the entry for survey group
TemplateConfiguration::checkAndcreateSurveyConfig($iSurveyID);


if ($oSurvey->save()) {
Yii::app()->setFlashMessage(gT("Survey settings were successfully saved."));
} else {
Yii::app()->setFlashMessage(gT("Survey could not be updated."), "error");
}
Yii::app()->end();
}

/**
Expand Down

0 comments on commit 4ab24f7

Please sign in to comment.