Commit b7ff1162 authored by Crell's avatar Crell
Browse files

Revert the other use of the request object on utility functions.

parent a764bd3f
......@@ -352,7 +352,7 @@ function drupal_match_path($path, $patterns) {
* @see request_path()
function current_path() {
return request()->attributes->get('system_path');
return $_GET['q'];
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