Fix for bad Uri::filter() call

https://github.com/getgrav/grav-plugin-page-inject/issues/14
This commit is contained in:
Andy Miller
2018-01-21 17:01:45 -07:00
parent 8eb0f87702
commit db5f0efaab

View File

@@ -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