mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +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()
|
public function getSiteAllList()
|
||||||
{
|
{
|
||||||
if(Context::get('domain'))
|
$siteList = $this->getAllSitesThatHaveModules(Context::get('domain'));
|
||||||
{
|
|
||||||
$domain = Context::get('domain');
|
|
||||||
}
|
|
||||||
$siteList = $this->getAllSitesThatHaveModules($domain);
|
|
||||||
$this->add('site_list', $siteList);
|
$this->add('site_list', $siteList);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue