mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 20:12:14 +09:00
Include PC layouts in mobile layout list
This commit is contained in:
parent
2cd6140a89
commit
15b4782d53
2 changed files with 3 additions and 3 deletions
|
|
@ -134,7 +134,7 @@ class layoutModel extends layout
|
|||
}
|
||||
$args = new stdClass();
|
||||
$args->site_srl = $siteSrl;
|
||||
$args->layout_type = $layoutType;
|
||||
$args->layout_type = $layoutType === 'P' ? 'P' : 'P,M';
|
||||
$args->layout = $layout;
|
||||
$output = executeQueryArray('layout.getLayoutList', $args, $columnList);
|
||||
|
||||
|
|
@ -144,7 +144,7 @@ class layoutModel extends layout
|
|||
{
|
||||
foreach($output->data as $no => $iInfo)
|
||||
{
|
||||
if($this->isExistsLayoutFile($iInfo->layout, $layoutType))
|
||||
if($this->isExistsLayoutFile($iInfo->layout, $iInfo->layout_type))
|
||||
{
|
||||
$instanceList[] = $iInfo->layout;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue