mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Fix warning in Context class if lang_type cookie is not set
This commit is contained in:
parent
ebe28cd884
commit
cc318479b4
1 changed files with 1 additions and 1 deletions
|
|
@ -301,7 +301,7 @@ class Context
|
|||
$set_lang_cookie = true;
|
||||
}
|
||||
}
|
||||
elseif($_COOKIE['lang_type'])
|
||||
elseif(isset($_COOKIE['lang_type']) && $_COOKIE['lang_type'])
|
||||
{
|
||||
$lang_type = $_COOKIE['lang_type'];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue