mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Fix warning in PHP 8.0
This commit is contained in:
parent
28e0960eb3
commit
b27617c854
1 changed files with 2 additions and 2 deletions
|
|
@ -803,7 +803,7 @@ class ModuleHandler extends Handler
|
|||
|
||||
// Set meta keywords.
|
||||
$module_config = ModuleModel::getModuleConfig('module');
|
||||
if ($module_info->meta_keywords)
|
||||
if ($module_info->meta_keywords ?? '')
|
||||
{
|
||||
Context::addMetaTag('keywords', $module_info->meta_keywords);
|
||||
}
|
||||
|
|
@ -817,7 +817,7 @@ class ModuleHandler extends Handler
|
|||
}
|
||||
|
||||
// Set meta description.
|
||||
if ($module_info->meta_description)
|
||||
if ($module_info->meta_description ?? '')
|
||||
{
|
||||
Context::addMetaTag('description', $module_info->meta_description);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue