mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix #2274 fatal error in importer module in PHBP 8.x
This commit is contained in:
parent
de1174c3b5
commit
1992e9dd5d
1 changed files with 1 additions and 1 deletions
|
|
@ -1246,7 +1246,7 @@ class importerAdminController extends importer
|
|||
$buff = '<extra_vars>'.$buff;
|
||||
$oXmlParser = new XeXmlParser();
|
||||
$xmlDoc = $this->oXmlParser->parse($buff);
|
||||
if(!count($xmlDoc->extra_vars->key)) return array();
|
||||
if(empty($xmlDoc->extra_vars->key)) return array();
|
||||
|
||||
$index = 1;
|
||||
foreach($xmlDoc->extra_vars->key as $k => $v)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue