summaryrefslogtreecommitdiff
path: root/modules/user/views/login.html.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-31 01:02:51 -0700
committerBharat Mediratta <bharat@menalto.com>2009-05-31 01:02:51 -0700
commit9369ccab7fb3413d63e218cec81b4cf43442fd98 (patch)
tree22066e2335c6aa2d81fadc56fbdbea8e7694069c /modules/user/views/login.html.php
parenta049de28ace48a3970371caf24d7c389d8d93cd7 (diff)
Run all variables that come from user-entered data through p::clean()
Diffstat (limited to 'modules/user/views/login.html.php')
-rw-r--r--modules/user/views/login.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/views/login.html.php b/modules/user/views/login.html.php
index d9a558b5..cce2fb54 100644
--- a/modules/user/views/login.html.php
+++ b/modules/user/views/login.html.php
@@ -11,7 +11,7 @@
'<a href="' . url::site("form/edit/users/{$user->id}") .
'" title="' . t("Edit Your Profile") .
'" id="gUserProfileLink" class="gDialogLink">' .
- (empty($user->full_name) ? $user->name : $user->full_name) . '</a>')) ?></li>
+ p::clean(empty($user->full_name) ? $user->name : $user->full_name) . '</a>')) ?></li>
<li><a href="<?= url::site("logout?continue=" . url::current(true)) ?>"
id="gLogoutLink"><?= t("Logout") ?></a></li>
<? endif; ?>