diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-03-12 14:53:13 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-03-12 14:53:13 +0000 |
commit | a4b93e3cc4622a7348a951554e944a88a7c5993a (patch) | |
tree | 46859565e71393cb9f76d1322f5925dc0e139a08 /includes | |
parent | 425533cc05f37c311730d39f44462ad11320bfbd (diff) | |
download | brdo-a4b93e3cc4622a7348a951554e944a88a7c5993a.tar.gz brdo-a4b93e3cc4622a7348a951554e944a88a7c5993a.tar.bz2 |
- forgot to commit this last night but this should fix deekayen's small
Windows glitch
Diffstat (limited to 'includes')
-rw-r--r-- | includes/locale.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/locale.inc b/includes/locale.inc index 873ee8606..4fd927c56 100644 --- a/includes/locale.inc +++ b/includes/locale.inc @@ -2,7 +2,7 @@ function locale_init() { global $languages, $user; - return ($user->id && $user->language) ? $user->language : key($languages); + return ($languages ? (($user->id && $user->language) ? $user->language : key($languages)) : 0); } function t($string) { |