mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Various fixes to remove warnings in PHP 8.0
This commit is contained in:
parent
9a0bf6d907
commit
49923844b2
36 changed files with 271 additions and 176 deletions
|
|
@ -442,7 +442,9 @@ class moduleAdminModel extends module
|
|||
if(is_array($lang_supported))
|
||||
{
|
||||
foreach($lang_supported as $key => $val)
|
||||
$output[$key] = $selected_lang[$key]?$selected_lang[$key]:$name;
|
||||
{
|
||||
$output[$key] = (isset($selected_lang[$key]) && $selected_lang[$key]) ? $selected_lang[$key] : $name;
|
||||
}
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue