summaryrefslogtreecommitdiff
path: root/modules/gallery/views/user_profile.html.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-01-28 07:44:58 -0800
committerTim Almdal <tnalmdal@shaw.ca>2010-01-28 07:44:58 -0800
commitcedbc82dccaf74a983f1f92846735b69391fdf10 (patch)
tree22e39f1f74d9ab6bbc6a2f4292f504b76109deea /modules/gallery/views/user_profile.html.php
parentbbe70119ef99e77a57dbc5354bc348c7adaece46 (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/views/user_profile.html.php')
-rw-r--r--modules/gallery/views/user_profile.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/views/user_profile.html.php b/modules/gallery/views/user_profile.html.php
index 708b1613..7dc9d13e 100644
--- a/modules/gallery/views/user_profile.html.php
+++ b/modules/gallery/views/user_profile.html.php
@@ -41,7 +41,7 @@
<? foreach ($info_parts as $info): ?>
<div>
<fieldset>
- <label><?= $info->title ?></label>
+ <label><?= html::purify($info->title) ?></label>
<div>
<?= $info->view ?>
</div>