diff options
author | Andy Staudacher <andy.st@gmail.com> | 2010-02-21 13:08:06 -0800 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2010-02-21 13:08:06 -0800 |
commit | be20309259de9310da3be703c93c4e42def2541b (patch) | |
tree | 38ecbb4fe4183e65af79cd9fbdfae3d99b8cd4d3 /modules/gallery/helpers/gallery_event.php | |
parent | cb57c3912aef6bed394a4693f94e9c97001aff34 (diff) | |
parent | 1377b2c7b3110a132d4b2d748be72a6aafa537e6 (diff) |
Merge commit 'upstream/master'
Diffstat (limited to 'modules/gallery/helpers/gallery_event.php')
-rw-r--r-- | modules/gallery/helpers/gallery_event.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/gallery/helpers/gallery_event.php b/modules/gallery/helpers/gallery_event.php index 3f77bc42..36f91142 100644 --- a/modules/gallery/helpers/gallery_event.php +++ b/modules/gallery/helpers/gallery_event.php @@ -413,7 +413,7 @@ class gallery_event_Core { $fields = array("name" => t("Name"), "locale" => t("Language Preference"), "email" => t("Email"), "full_name" => t("Full name"), "url" => "Web site"); - if (!$data->display_all) { + if (!$data->user->guest) { $fields = array("name" => t("Name"), "full_name" => t("Full name"), "url" => "Web site"); } $v->user_profile_data = array(); @@ -423,9 +423,6 @@ class gallery_event_Core { if ($field == "locale") { $value = locales::display_name($value); } - if ($field == "full_name") { - $value = t($value); - } $v->user_profile_data[(string) $label] = $value; } } |