mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Fix #1100 member skin being overwritten by mid defaults
This commit is contained in:
parent
22a47b5c46
commit
7d318c3122
1 changed files with 1 additions and 1 deletions
|
|
@ -555,7 +555,7 @@ class ModuleObject extends BaseObject
|
|||
$default_skin = ((!$is_mobile && $this->module_info->is_skin_fix == 'N') || ($is_mobile && $this->module_info->is_mskin_fix == 'N'));
|
||||
$disable_skin = ($this->module == 'page' && ($this->module_info->page_type == 'OUTSIDE' || $this->module_info->page_type == 'WIDGET'));
|
||||
$disable_skin = ($disable_skin && ($this->module === 'admin' || strpos($this->act, 'Admin') !== false || $this->module !== $this->module_info->module));
|
||||
if(!$disable_skin)
|
||||
if(!$disable_skin && !$this->getTemplatePath())
|
||||
{
|
||||
$valueName = $is_mobile ? 'mskin' : 'skin';
|
||||
$skinName = $this->module_info->{$valueName};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue