summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-10-24 11:17:01 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-10-24 11:17:01 +0000
commit8903cda5ca13f96aad3d9a074937644347620054 (patch)
tree5997299a5aee0c3cb8ade232f2443455892d6918 /modules/user/user.module
parentc5fb69fb08fa443397a3bb7ea245eb31f79891aa (diff)
downloadbrdo-8903cda5ca13f96aad3d9a074937644347620054.tar.gz
brdo-8903cda5ca13f96aad3d9a074937644347620054.tar.bz2
#179519 by chx, webchick and Desbeers: fix blog/[uid] to only display posts for that user and also set proper title
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 801f8f5f2..193bec33b 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -1068,7 +1068,7 @@ function user_init() {
}
function user_current_load($arg) {
- return $arg ? user_load($arg) : user_load($GLOBALS['user']->uid);
+ return $arg ? user_load($arg) : FALSE;
}
function user_current_to_arg($arg) {