mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 11:11:39 +09:00
Remove unnecessary check for array in getModulePartConfig()
This commit is contained in:
parent
2e2e11618b
commit
55cba46f26
1 changed files with 1 additions and 8 deletions
|
|
@ -1448,14 +1448,7 @@ class moduleModel extends module
|
|||
}
|
||||
else
|
||||
{
|
||||
if (is_array($output->data->config))
|
||||
{
|
||||
$config = array();
|
||||
}
|
||||
else
|
||||
{
|
||||
$config = new stdClass;
|
||||
}
|
||||
$config = new stdClass;
|
||||
}
|
||||
|
||||
// Deprecate use of ArrayObject because of https://bugs.php.net/bug.php?id=77298
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue