summaryrefslogtreecommitdiff
path: root/modules/user/controllers/logout.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/controllers/logout.php')
-rw-r--r--modules/user/controllers/logout.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/user/controllers/logout.php b/modules/user/controllers/logout.php
index 099b1952..fc3ced56 100644
--- a/modules/user/controllers/logout.php
+++ b/modules/user/controllers/logout.php
@@ -23,8 +23,8 @@ class Logout_Controller extends Controller {
$user = user::active();
user::logout();
- log::info("user", t("User %name logged out", array("name" => p::clean($user->name))),
- html::anchor("user/$user->id", p::clean($user->name)));
+ log::info("user", t("User %name logged out", array("name" => $user->name)),
+ html::anchor("user/$user->id", html::clean($user->name)));
if ($continue_url = $this->input->get("continue")) {
$item = url::get_item_from_uri($continue_url);
if (access::can("view", $item)) {