summaryrefslogtreecommitdiff
path: root/modules/tracker.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-10-06 20:43:05 +0000
committerDries Buytaert <dries@buytaert.net>2004-10-06 20:43:05 +0000
commit96121dbbe2b2712a77be3a2e41d6e7c7c351724a (patch)
tree402d126a8be0497bf1ffbda16b187fb731cac81e /modules/tracker.module
parent36c0cda2216ebbee811fb4437d8942d3cf2565b4 (diff)
downloadbrdo-96121dbbe2b2712a77be3a2e41d6e7c7c351724a.tar.gz
brdo-96121dbbe2b2712a77be3a2e41d6e7c7c351724a.tar.bz2
- Small refinement with regard to the page title.
Diffstat (limited to 'modules/tracker.module')
-rw-r--r--modules/tracker.module5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/tracker.module b/modules/tracker.module
index 5c18e4cea..f4ad028ae 100644
--- a/modules/tracker.module
+++ b/modules/tracker.module
@@ -52,7 +52,10 @@ function tracker_menu($may_cache) {
* Menu callback. Prints a listing of active nodes on the site.
*/
function tracker_track_user() {
- tracker_page(arg(1));
+ if ($account = user_load(array('uid' => arg(1)))) {
+ drupal_set_title($account->name);
+ tracker_page($account->uid);
+ }
}
/**