Skip to content

Commit

Permalink
Fixed issue #7945: Error message "token mismatch" not being translated
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Sep 24, 2013
1 parent 5852098 commit a2bfd7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/survey/index.php
Expand Up @@ -681,7 +681,7 @@ function _loadRequiredHelpersAndLibraries()
function _loadLimesurveyLang($mvSurveyIdOrBaseLang)
{
$baselang = Yii::app()->getConfig('defaultlang');
if ( is_int($mvSurveyIdOrBaseLang))
if ( is_numeric($mvSurveyIdOrBaseLang))
{
$survey = Survey::model()->findByPk($mvSurveyIdOrBaseLang);
if (!is_null($survey)) {
Expand Down

1 comment on commit a2bfd7d

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Argl ... think it's mine error ...
(not sure)

Please sign in to comment.