mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix warnings in PHP 8 #2150 @eondcom
This commit is contained in:
parent
84c473dda1
commit
13ef40c772
2 changed files with 11 additions and 4 deletions
|
|
@ -280,11 +280,18 @@ class layoutModel extends layout
|
|||
$args = new stdClass();
|
||||
$args->layout_srl = $layout_srl;
|
||||
$output = executeQuery('layout.getLayout', $args);
|
||||
if(!$output->data) return;
|
||||
$layout = $output->data->layout;
|
||||
if (!$output->data)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// Return xml file informaton after listing up the layout and extra_vars
|
||||
$layout = $output->data->layout;
|
||||
$layout_info = $this->getLayoutInfo($layout, $output->data, $output->data->layout_type);
|
||||
if (!$layout_info)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// Check if layout has been edited
|
||||
if (file_exists(\RX_BASEDIR . 'files/faceOff/' . getNumberingPath($layout_srl) . 'layout.html') ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue