Commit a58d72b9 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

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)

(cherry picked from commit 3e46eb41)
parent 592d8518
......@@ -200,7 +200,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