diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-05-02 19:36:03 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2002-05-02 19:36:03 +0000 |
commit | cd334c1364badeab2668d216fafab1d653b3e6e9 (patch) | |
tree | e06c70ee7ed4bed1d5588a513d39afb1a8e53ab5 /modules/blog.module | |
parent | a4b5005640228b8f5cec843e46c152080f9ff523 (diff) | |
download | brdo-cd334c1364badeab2668d216fafab1d653b3e6e9.tar.gz brdo-cd334c1364badeab2668d216fafab1d653b3e6e9.tar.bz2 |
- re-adding the module.php?mod=blog&node=USER.
Diffstat (limited to 'modules/blog.module')
-rw-r--r-- | modules/blog.module | 6 |
1 files changed, 5 insertions, 1 deletions
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); } |