Upgrade to 3.2.3
This commit is contained in:
@@ -543,7 +543,7 @@ class Api
|
||||
if (is_a($e, 'Kirby\Exception\Exception') === true) {
|
||||
$result = [
|
||||
'status' => 'error',
|
||||
'route' => $this->route->pattern()
|
||||
'route' => ($this->route)? $this->route->pattern() : null
|
||||
] + $e->toArray();
|
||||
} else {
|
||||
// remove the document root from the file path
|
||||
|
Reference in New Issue
Block a user