From 95610bdd6cd8b607209ed3a6efa58c60ae4b19fb Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 29 Nov 2004 17:52:35 +0000 Subject: - Patch #13647 by Goba: 1. Fixed broken watchdog calls: two watchdog calls omitted the type parameter, and thus injected logs into the type field, instead of the message field. 2. Removed t() functions from user contributed content. --- modules/user.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user.module') diff --git a/modules/user.module b/modules/user.module index cabb5b773..621b81db9 100644 --- a/modules/user.module +++ b/modules/user.module @@ -607,7 +607,7 @@ function theme_user_picture($account) { } if ($picture) { - $alt = t('%user\'s picture', array('%user' => $account->name ? $account->name : t(variable_get('anonymous', 'Anonymous')))); + $alt = t('%user\'s picture', array('%user' => $account->name ? $account->name : variable_get('anonymous', 'Anonymous'))); $picture = theme('image', $picture, $alt, $alt, '', false); if ($account->uid) { $picture = l($picture, "user/$account->uid", array('title' => t('View user profile.'))); -- cgit v1.2.3