Commit 3e46eb41 authored by Ad Schellevis's avatar Ad Schellevis

php7.1, Error at /usr/local/opnsense/www/api.php:26 - Invalid callback...

php7.1, Error at /usr/local/opnsense/www/api.php:26 - Invalid callback OPNsense\Core\Api\MenuController::afterexecuteroute, cannot access protected method OPNsense\Core\Api\MenuController::afterExecuteRoute() (errno=2)
parent ad3fa98b
......@@ -202,7 +202,7 @@ class ApiControllerBase extends ControllerRoot
* @param $dispatcher
* @return string json data
*/
protected function afterExecuteRoute($dispatcher)
public function afterExecuteRoute($dispatcher)
{
// exit when reponse headers are already set
if ($this->response->getHeaders()->get("Status") != null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment