mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Fix warning when trying to get info of nonexistent domain
This commit is contained in:
parent
8b0901b3c8
commit
cbfd88dfb8
2 changed files with 5 additions and 5 deletions
|
|
@ -1752,7 +1752,7 @@ class Context
|
|||
}
|
||||
|
||||
$site_module_info = self::get('site_module_info');
|
||||
if ($domain !== null && $domain !== $site_module_info->domain)
|
||||
if ($domain !== null && $domain !== false && $domain !== $site_module_info->domain)
|
||||
{
|
||||
if (!isset($domain_infos[$domain]))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue