summaryrefslogtreecommitdiff
path: root/text.class
diff options
context:
space:
mode:
authorChristian Schneider2006-12-15 17:43:08 +0000
committerChristian Schneider2006-12-15 17:43:08 +0000
commit63b55edb1bfc386c69ef04b6e8e572bb569199d5 (patch)
tree29eaf6f78ac848854833434d884407a56413ff03 /text.class
parentc61537c05385d8aa13c8f85310c0db26d935e312 (diff)
downloaditools-63b55edb1bfc386c69ef04b6e8e572bb569199d5.tar.gz
itools-63b55edb1bfc386c69ef04b6e8e572bb569199d5.tar.bz2
itools-63b55edb1bfc386c69ef04b6e8e572bb569199d5.zip
Make T_lang safe
Diffstat (limited to 'text.class')
-rw-r--r--text.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/text.class b/text.class
index 2f042e1..60a54fd 100644
--- a/text.class
+++ b/text.class
@@ -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";
}
/**