Skip to content

Commit

Permalink
* Adjust code for PHP8.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhujinyong committed Dec 28, 2021
1 parent ede915f commit 8407a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/base/control.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ public function fetch($moduleName = '', $methodName = '', $params = array(), $ap
* Call the method and use ob function to get the output.
*/
ob_start();
call_user_func_array(array($module, $methodName), $params);
call_user_func_array(array($module, $methodName), array_values($params));
$output = ob_get_contents();
ob_end_clean();

Expand Down

0 comments on commit 8407a4a

Please sign in to comment.