Skip to content

Commit

Permalink
Fix from phrases output
Browse files Browse the repository at this point in the history
Output depends on language which is set in config.php

English = 0
Russian = 8
Denmark = ?
French = ?
  • Loading branch information
Ivan committed Sep 25, 2012
1 parent 65797c5 commit 9b6dea2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/wowhead/head_main.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ function array_random($arr, $num = 1) {
}


if($AoWoWconf['locale'] = 8)
if($AoWoWconf['locale'] == 8)
{ include('configs/phrases/ruru.php'); }
elseif ($AoWoWconf['locale'] = 0)
elseif ($AoWoWconf['locale'] == 0)
{ include('configs/phrases/enen.php'); }

print_r(array_random($titlephrases));
Expand Down

0 comments on commit 9b6dea2

Please sign in to comment.