Prepare for downgrade from future version where domain_srl may be duplicate

This commit is contained in:
Kijin Sung 2021-02-23 17:00:21 +09:00
parent e423cba24d
commit d3e390e3fe
2 changed files with 6 additions and 5 deletions

View file

@ -695,7 +695,7 @@ class adminAdminView extends admin
$domain_info = null;
if ($domain_srl !== '')
{
$domain_info = getModel('module')->getSiteInfo($domain_srl);
$domain_info = ModuleModel::getSiteInfo($domain_srl);
if ($domain_info->domain_srl != $domain_srl)
{
throw new Rhymix\Framework\Exception('msg_domain_not_found');