summaryrefslogtreecommitdiff
path: root/modules/profile/profile.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profile/profile.module')
-rw-r--r--modules/profile/profile.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/profile/profile.module b/modules/profile/profile.module
index 83f5ea53a..c1c5b7810 100644
--- a/modules/profile/profile.module
+++ b/modules/profile/profile.module
@@ -125,7 +125,7 @@ function _profile_form($edit, $mode) {
if ($edit["profile_avatar"] && $edit["uid"]) {
$file = profile_avatar_path($edit["uid"], $edit["profile_avatar"]);
if ($file) {
- $output .= "<img src=\"$file\"><br />";
+ $output .= "<img src=\"$file\" alt=\"\" /><br />";
}
}
$output .= form_file($profile_fields["avatar"][1], "profile_avatar", 64, $profile_fields["avatar"][2]);
@@ -187,7 +187,7 @@ function _profile_user_view(&$user, $mode) {
if ($t == "profile_avatar") {
$file = profile_avatar_path($user->uid, $user->profile_avatar);
if (file_exists($file)) {
- $output .= form_item(t("Avatar"), "<img src=\"$file\" />");
+ $output .= form_item(t("Avatar"), "<img src=\"$file\" alt=\"\" />");
}
}