Corrected wrong default language constant

This commit is contained in:
Andreas Österreicher
2017-10-29 17:11:54 +01:00
parent 74b6379afc
commit 5cf943d586
+1 -1
View File
@@ -307,7 +307,7 @@ class MessageLib
if (hasData($result))
{
// Set the language with the global value
$sprache = DEFAULT_LEHREINHEIT_SPRACHE;
$sprache = DEFAULT_LANGUAGE;
// If the receiver has a prefered language use this
if (isset($result->retval[0]->sprache) && $result->retval[0]->sprache != '')
{