1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[ticket/14044] Solve missing email template error

PHPBB3-14044
This commit is contained in:
Mate Bartus
2015-10-28 14:14:49 +01:00
parent 33db26d0cf
commit 3ac10ef544
2 changed files with 17 additions and 1 deletions

View File

@@ -548,6 +548,16 @@ class language
}
}
/**
* Returns the ISO code of the used language
*
* @return string The ISO code of the currently used language
*/
public function get_used_language()
{
return $this->language_fallback[0];
}
/**
* Returns language fallback data
*