mirror of
https://github.com/getgrav/grav.git
synced 2026-01-29 19:00:12 +01:00
Fix for bad Uri::filter() call
https://github.com/getgrav/grav-plugin-page-inject/issues/14
This commit is contained in:
@@ -985,7 +985,7 @@ class Uri
|
||||
|
||||
// Handle route only
|
||||
if ($route_only) {
|
||||
$url_path = str_replace(static::filter($base_url), '', $url_path);
|
||||
$url_path = str_replace(static::filterPath($base_url), '', $url_path);
|
||||
}
|
||||
|
||||
// transform back to string/array as needed
|
||||
|
||||
Reference in New Issue
Block a user