From 4ab24f7f92425be2052f1bdcac24f77819cf7c96 Mon Sep 17 00:00:00 2001 From: Olle Haerstedt Date: Wed, 28 Feb 2018 14:44:36 +0100 Subject: [PATCH] Fixed issue #13426: No message displayed when saving general survey settings --- application/controllers/admin/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/admin/database.php b/application/controllers/admin/database.php index 920ddf11a59..33a179c98ec 100644 --- a/application/controllers/admin/database.php +++ b/application/controllers/admin/database.php @@ -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(); } /**