diff --git a/application/controllers/survey/index.php b/application/controllers/survey/index.php index a1c60feba0d..59794b52300 100644 --- a/application/controllers/survey/index.php +++ b/application/controllers/survey/index.php @@ -384,6 +384,10 @@ public function action() $aLoadErrorMsg['password'] = gT("You did not provide a password."); } + if (!$isSurveyActive) { + $aLoadErrorMsg['password'] = gT("You cannot reload responses because the survey is not activated, yet."); + } + // if security question answer is incorrect // Not called if scid is set in GET params (when using email save/reload reminder URL) // && Yii::app()->request->isPostRequest ?