Skip to content

Commit

Permalink
Fix for bad Uri::filter() call
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Jan 22, 2018
1 parent 8eb0f87 commit db5f0ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/src/Grav/Common/Uri.php
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@ public static function convertUrl(Page $page, $url, $type = 'link', $absolute =

// 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
Expand Down

0 comments on commit db5f0ef

Please sign in to comment.