mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix undefined variables in several module config templates
This commit is contained in:
parent
d54eb4f3d5
commit
8176bdb845
12 changed files with 38 additions and 31 deletions
|
|
@ -833,7 +833,7 @@ class ModuleObject extends BaseObject
|
|||
}
|
||||
|
||||
// execute api methods of the module if view action is and result is XMLRPC or JSON
|
||||
if($this->module_info->module_type == 'view' || $this->module_info->module_type == 'mobile')
|
||||
if(isset($this->module_info->module_type) && in_array($this->module_info->module_type, ['view', 'mobile']))
|
||||
{
|
||||
if(Context::getResponseMethod() == 'XMLRPC' || Context::getResponseMethod() == 'JSON')
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue