Skip to content

Commit

Permalink
Fixed issue #06283: Quick translation is not working
Browse files Browse the repository at this point in the history
Dev Corrected minimum "additionalLanguages" condition
  • Loading branch information
tpartner committed Jul 3, 2012
1 parent 4befd37 commit dab518a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/translate.php
Expand Up @@ -46,7 +46,7 @@ public function index()
Yii::app()->loadHelper("database");
Yii::app()->loadHelper("admin/htmleditor");

if ( empty($tolang) && count($langs) > 1 )
if ( empty($tolang) && count($langs) > 0 )
{
$tolang = $langs[0];
}
Expand Down

0 comments on commit dab518a

Please sign in to comment.