Skip to content

Commit

Permalink
Dev: fix typo ... then replace by model
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Jul 20, 2015
1 parent ea7bf96 commit 3375209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/survey/index.php
Expand Up @@ -182,7 +182,7 @@ function action()
{
$sDisplayLanguage = $_SESSION['survey_'.$surveyid]['s_lang'];
}
elseif($surveyExist)//Survey::model()->findByPk($surveyid)
elseif(Survey::model()->findByPk($surveyid))
{
$sDisplayLanguage=Survey::model()->findByPk($surveyid)->language;
}
Expand Down

0 comments on commit 3375209

Please sign in to comment.