summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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";
}
/**