diff options
author | Christian Schneider | 2006-12-15 17:43:08 +0000 |
---|---|---|
committer | Christian Schneider | 2006-12-15 17:43:08 +0000 |
commit | 63b55edb1bfc386c69ef04b6e8e572bb569199d5 (patch) | |
tree | 29eaf6f78ac848854833434d884407a56413ff03 /text.class | |
parent | c61537c05385d8aa13c8f85310c0db26d935e312 (diff) | |
download | itools-63b55edb1bfc386c69ef04b6e8e572bb569199d5.tar.gz itools-63b55edb1bfc386c69ef04b6e8e572bb569199d5.tar.bz2 itools-63b55edb1bfc386c69ef04b6e8e572bb569199d5.zip |
Make T_lang safe
Diffstat (limited to 'text.class')
-rw-r--r-- | text.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -425,7 +425,7 @@ function ET($label, $values = null, $language = null) */ function T_lang() { - return $GLOBALS['it_text']->get_language(); + return isset($GLOBALS['it_text']) ? $GLOBALS['it_text']->get_language() : "de"; } /** |