summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-01-28 09:55:41 -0800
committerTim Almdal <tnalmdal@shaw.ca>2010-01-28 09:55:41 -0800
commit11fbcfeb25a9da60737807d2e0705993d93d24da (patch)
treec23b671ee7fab2ab5196f8ba3690d3e4a02b5b77
parentc51fe9682075c961972c344f4888a4adceabe3eb (diff)
Found another broken link for what should have been the user profile
-rw-r--r--modules/gallery/helpers/auth.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/gallery/helpers/auth.php b/modules/gallery/helpers/auth.php
index 21a39bfb..bdff2f70 100644
--- a/modules/gallery/helpers/auth.php
+++ b/modules/gallery/helpers/auth.php
@@ -51,6 +51,8 @@ class auth_Core {
module::event("user_logout", $user);
}
log::info("user", t("User %name logged out", array("name" => $user->name)),
- html::anchor("user/$user->id", html::clean($user->name)));
+ t('<a href="%url">%user_name</a>',
+ array("url" => user_profile::url($user->id),
+ "user_name" => html::clean($user->name))));
}
} \ No newline at end of file