summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-05-28 20:05:15 +0000
committerDries Buytaert <dries@buytaert.net>2004-05-28 20:05:15 +0000
commit07d53792c400867f15e415004c71eb302e52ed19 (patch)
tree5b88fbd50cba57f04f5eaa027a5c23db19ce9607
parent8c75cda0b1874fb026a05cd407179977441289d7 (diff)
downloadbrdo-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.inc2
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';
}