mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Fix the warning error in php 7.2 of the array error. use to countobj function.
This commit is contained in:
parent
b180270e08
commit
66568474bc
2 changed files with 2 additions and 2 deletions
|
|
@ -816,7 +816,7 @@ class moduleModel extends module
|
|||
|
||||
$xml_obj = XmlParser::loadXmlFile($xml_file); // /< Read xml file and convert it to xml object
|
||||
|
||||
if(!count($xml_obj->module)) return; // /< Error occurs if module tag doesn't included in the xml
|
||||
if(!countobj($xml_obj->module)) return; // /< Error occurs if module tag doesn't included in the xml
|
||||
|
||||
$grants = $xml_obj->module->grants->grant; // /< Permission information
|
||||
$permissions = $xml_obj->module->permissions->permission; // /< Acting permission
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue