mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix #2299 incorrect use of count() on nullable property
This commit is contained in:
parent
08b272f172
commit
584b370769
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ class integration_searchAdminView extends integration_search
|
||||||
$skin_info = $oModuleModel->loadSkinInfo($this->module_path, $this->config->skin);
|
$skin_info = $oModuleModel->loadSkinInfo($this->module_path, $this->config->skin);
|
||||||
$skin_vars = unserialize($this->config->skin_vars);
|
$skin_vars = unserialize($this->config->skin_vars);
|
||||||
// value for skin_info extra_vars
|
// value for skin_info extra_vars
|
||||||
if(count($skin_info->extra_vars))
|
if(!empty($skin_info->extra_vars))
|
||||||
{
|
{
|
||||||
foreach($skin_info->extra_vars as $key => $val)
|
foreach($skin_info->extra_vars as $key => $val)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue