diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-05-31 00:11:48 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-05-31 00:11:48 -0700 |
commit | 708f27f483d70660446ea2132b02cb7b39225f98 (patch) | |
tree | c1f6231ea024565be6c2a41ad092eea05b30d7fc /modules/gallery/views/admin_block_log_entries.html.php | |
parent | ad81861c331f60ec8c19ea11e47e2826660fa142 (diff) |
Run p::clean() on any variables that contain data entered by users.
Diffstat (limited to 'modules/gallery/views/admin_block_log_entries.html.php')
-rw-r--r-- | modules/gallery/views/admin_block_log_entries.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/views/admin_block_log_entries.html.php b/modules/gallery/views/admin_block_log_entries.html.php index db6313e1..5d8f3084 100644 --- a/modules/gallery/views/admin_block_log_entries.html.php +++ b/modules/gallery/views/admin_block_log_entries.html.php @@ -2,7 +2,7 @@ <ul> <? foreach ($entries as $entry): ?> <li class="<?= log::severity_class($entry->severity) ?>"> - <a href="<?= url::site("user/$entry->user_id") ?>"><?= $entry->user->name ?></a> + <a href="<?= url::site("user/$entry->user_id") ?>"><?= p::clean($entry->user->name) ?></a> <?= date("Y-M-d H:i:s", $entry->timestamp) ?> <?= $entry->message ?> <?= $entry->html ?> |