* [apiv2] Fix api render method
This commit is contained in:
@@ -158,6 +158,15 @@ class control extends baseControl
|
||||
|
||||
return;
|
||||
}
|
||||
elseif(!$this->getFormData)
|
||||
{
|
||||
$this->parseJSON($moduleName, $methodName);
|
||||
|
||||
ob_start();
|
||||
echo $this->output;
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
if(empty($moduleName)) $moduleName = $this->moduleName;
|
||||
if(empty($methodName)) $methodName = $this->methodName;
|
||||
|
||||
Reference in New Issue
Block a user