Commit 7e312403 authored by M.Nowocyn's avatar M.Nowocyn

Add $reload parameter in get_string() (key)

parent ea23a160
......@@ -46,8 +46,8 @@ class key extends cache_string implements iKey
*/
public static function get_string ($id = "", $reload = FALSE): string
{
if (self::exist($id)) {
$key = self::get($id);
if (self::exist($id, $reload)) {
$key = self::get($id, $reload);
if ($key instanceof key) {
return $key->get_lang();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment