mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
This commit is contained in:
parent
26c59c251c
commit
5a8c669c42
1 changed files with 2 additions and 2 deletions
|
|
@ -167,7 +167,7 @@ class LayoutModel extends Layout
|
|||
|
||||
if($layout)
|
||||
{
|
||||
if(count($instanceList) < 1 && $downloadedList[$layout])
|
||||
if(count($instanceList) < 1 && isset($downloadedList[$layout]))
|
||||
{
|
||||
$insertArgs = new stdClass();
|
||||
$insertArgs->layout_srl = getNextSequence();
|
||||
|
|
@ -383,7 +383,7 @@ class LayoutModel extends Layout
|
|||
// Get information of the layout
|
||||
$layout_info = self::getLayoutInfo($layout, null, $layout_type);
|
||||
|
||||
if(!$layout_info)
|
||||
if (!$layout_info || !self::isExistsLayoutFile($layout, $layout_type))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue