diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2010-01-28 07:44:58 -0800 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2010-01-28 07:44:58 -0800 |
| commit | cedbc82dccaf74a983f1f92846735b69391fdf10 (patch) | |
| tree | 22e39f1f74d9ab6bbc6a2f4292f504b76109deea /modules/gallery/helpers | |
| parent | bbe70119ef99e77a57dbc5354bc348c7adaece46 (diff) | |
Do all the html::clean|purify calls in the views and not the controller. Also clean the subject line and email message body of the contact user email.
Diffstat (limited to 'modules/gallery/helpers')
| -rw-r--r-- | modules/gallery/helpers/gallery_event.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/gallery_event.php b/modules/gallery/helpers/gallery_event.php index 70c6de4a..9b252f61 100644 --- a/modules/gallery/helpers/gallery_event.php +++ b/modules/gallery/helpers/gallery_event.php @@ -411,7 +411,7 @@ class gallery_event_Core { if ($field == "locale") { $value = locales::display_name($value); } - $v->fields[(string) $label] = html::clean($value); + $v->fields[(string) $label] = $value; } } $data->content[] = (object) array("title" => t("User information"), "view" => $v); |
