From 8903cda5ca13f96aad3d9a074937644347620054 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Wed, 24 Oct 2007 11:17:01 +0000 Subject: #179519 by chx, webchick and Desbeers: fix blog/[uid] to only display posts for that user and also set proper title --- modules/user/user.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user/user.module') 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) { -- cgit v1.2.3