diff options
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc index 7af86a4ca..423486e94 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1204,7 +1204,7 @@ function drupal_attributes($attributes = array()) { } function l($text, $url, $attributes = array(), $query = NULL, $fragment = NULL, $absolute = NULL) { - if ($url == $_GET['q']) { + if (drupal_get_normal_path($url) == $_GET['q']) { if (isset($attributes['class'])) { $attributes['class'] .= ' active'; } |