mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 08:41:39 +09:00
Fix warning when domain is not given
This commit is contained in:
parent
16b6544f9d
commit
847415f1af
1 changed files with 1 additions and 5 deletions
|
|
@ -56,11 +56,7 @@ class AdminAdminModel extends Admin
|
|||
*/
|
||||
public function getSiteAllList()
|
||||
{
|
||||
if(Context::get('domain'))
|
||||
{
|
||||
$domain = Context::get('domain');
|
||||
}
|
||||
$siteList = $this->getAllSitesThatHaveModules($domain);
|
||||
$siteList = $this->getAllSitesThatHaveModules(Context::get('domain'));
|
||||
$this->add('site_list', $siteList);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue