From cd334c1364badeab2668d216fafab1d653b3e6e9 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Thu, 2 May 2002 19:36:03 +0000 Subject: - re-adding the module.php?mod=blog&node=USER. --- modules/blog.module | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'modules/blog.module') diff --git a/modules/blog.module b/modules/blog.module index 09d588b8d..ad6368cca 100644 --- a/modules/blog.module +++ b/modules/blog.module @@ -250,7 +250,7 @@ function blog_form(&$node, &$help, &$error) { function blog_page() { - global $theme, $id, $op, $date, $all; + global $theme, $id, $op, $date, $all, $name; if (user_access("access content")) { switch ($op) { @@ -264,6 +264,10 @@ function blog_page() { break; default: $theme->header(); + if ($name) { + $user = user_load(array("name" => $name)); + $id = $user->uid; + } if ($id) { blog_page_user($id, $date, $all); } -- cgit v1.2.3