diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 12:48:40 -0700 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-08-29 12:48:40 -0700 |
commit | c01ac42c4604b3b129e8089e0dc683ebd418b380 (patch) | |
tree | 87c688c638733e7d8a8215bc5f4ee89d0f598c62 /modules/gallery/views/admin_block_log_entries.html.php | |
parent | a10063ff68cf5988297dcad889384ab2080c3850 (diff) |
Refactor all calls of p::clean() to SafeString::of() and p::purify() to SafeString::purify().
Removing any p::clean() calls for arguments to t() and t2() since their args are wrapped in a SafeString anyway.
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 44c1657f..b7afb22d 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) ?>" style="direction: ltr"> - <a href="<?= url::site("user/$entry->user_id") ?>"><?= p::clean($entry->user->name) ?></a> + <a href="<?= url::site("user/$entry->user_id") ?>"><?= SafeString::of($entry->user->name) ?></a> <?= gallery::date_time($entry->timestamp) ?> <?= $entry->message ?> <?= $entry->html ?> |