diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-05-28 20:05:15 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-05-28 20:05:15 +0000 |
commit | 07d53792c400867f15e415004c71eb302e52ed19 (patch) | |
tree | 5b88fbd50cba57f04f5eaa027a5c23db19ce9607 | |
parent | 8c75cda0b1874fb026a05cd407179977441289d7 (diff) | |
download | brdo-07d53792c400867f15e415004c71eb302e52ed19.tar.gz brdo-07d53792c400867f15e415004c71eb302e52ed19.tar.bz2 |
- Patch #8089 by matthias: make sure aliased links can be flagged as 'active'.
-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'; } |