Skip to content

Commit

Permalink
Fixed issue #7073: Rubbish text after upgrading in ComfortUpdate step 4
Browse files Browse the repository at this point in the history
  • Loading branch information
c-schmitz committed Jun 9, 2013
1 parent caab90e commit fa89f19
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions application/controllers/admin/update.php
Expand Up @@ -425,9 +425,7 @@ function step4()
setGlobalSetting('updateversion','');
// We create this new language object here because the language files might have been overwritten earlier
// and the pointers to the file from the application language are not valid anymore
$aLanguage = new Limesurvey_lang(Yii::app()->session['adminlang']);
$aData['clang'] = $aLanguage;

Yii::app()->lang = $aData['clang'] = new Limesurvey_lang(Yii::app()->session['adminlang']);
$this->_renderWrappedTemplate('update', 'step4', $aData);
}

Expand Down

0 comments on commit fa89f19

Please sign in to comment.