* adjust for php8.0

This commit is contained in:
王怡栋
2022-03-01 13:32:31 +08:00
parent 9991571bb2
commit e83555ffd3
2 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ class api extends router
$entry = new $entryName();
if($this->action == 'options') return $entry->send(204);
call_user_func_array(array($entry, $this->action), $this->params);
call_user_func_array(array($entry, $this->action), array_values($this->params));
}
/**