Skip to content

Commit

Permalink
Fixed issue: general settings button on survey list doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikvitt committed Nov 7, 2018
1 parent 749afa5 commit 58a4794
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion application/controllers/admin/database.php
Expand Up @@ -1077,7 +1077,7 @@ private function actionUpdateSurveyLocaleSettings($iSurveyID)
if ($referrer) {
$this->getController()->redirect(array($referrer));
} else {
$this->getController()->redirect(array('/admin/survey/sa/editlocalsettings/surveyid/'.$iSurveyID));
$this->getController()->redirect(array('/admin/survey/sa/rendersidemenulink/subaction/generalsettings/surveyid/'.$iSurveyID));
}
}

Expand Down
2 changes: 1 addition & 1 deletion application/models/Survey.php
Expand Up @@ -1473,7 +1473,7 @@ public function getCountTotalAnswers()
*/
public function getbuttons()
{
$sEditUrl = App()->createUrl("/admin/survey/sa/editlocalsettings/surveyid/".$this->sid);
$sEditUrl = App()->createUrl("/admin/survey/sa/rendersidemenulink/subaction/generalsettings/surveyid/".$this->sid);
$sStatUrl = App()->createUrl("/admin/statistics/sa/simpleStatistics/surveyid/".$this->sid);
$sAddGroup = App()->createUrl("/admin/questiongroups/sa/add/surveyid/".$this->sid); ;
$sAddquestion = App()->createUrl("/admin/questions/sa/newquestion/surveyid/".$this->sid); ;
Expand Down

0 comments on commit 58a4794

Please sign in to comment.