diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-07-02 18:13:45 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-07-02 18:13:45 +0000 |
commit | d279d16ccb829259d2a24253de5a8c78a307d7cd (patch) | |
tree | 14ed054726634d2a1aac809a1f6eb02e69d4f11d /modules | |
parent | 07d490058e662ed7975e73734a03090d31f4e09d (diff) | |
download | brdo-d279d16ccb829259d2a24253de5a8c78a307d7cd.tar.gz brdo-d279d16ccb829259d2a24253de5a8c78a307d7cd.tar.bz2 |
- Patch #8996 by James: theme_user_picture() linked to bad url.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/user.module | 2 | ||||
-rw-r--r-- | modules/user/user.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/user.module b/modules/user.module index cc169615c..cd6f2bb97 100644 --- a/modules/user.module +++ b/modules/user.module @@ -571,7 +571,7 @@ function theme_user_picture($account) { if ($picture) { $picture = "<img src=\"$picture\" alt=\"" . t('%user\'s picture', array('%user' => $account->name ? $account->name : t(variable_get('anonymous', 'Anonymous')))) . '" />'; if ($account->uid) { - $picture = l($picture, "user/view/$account->uid", array('title' => t('View user profile.'))); + $picture = l($picture, "user/$account->uid", array('title' => t('View user profile.'))); } return "<div class=\"picture\">$picture</div>"; diff --git a/modules/user/user.module b/modules/user/user.module index cc169615c..cd6f2bb97 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -571,7 +571,7 @@ function theme_user_picture($account) { if ($picture) { $picture = "<img src=\"$picture\" alt=\"" . t('%user\'s picture', array('%user' => $account->name ? $account->name : t(variable_get('anonymous', 'Anonymous')))) . '" />'; if ($account->uid) { - $picture = l($picture, "user/view/$account->uid", array('title' => t('View user profile.'))); + $picture = l($picture, "user/$account->uid", array('title' => t('View user profile.'))); } return "<div class=\"picture\">$picture</div>"; |