diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-04-12 19:47:06 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-04-12 19:47:06 +0000 |
commit | 4a66d329b9e25207ae716657a09f5c35620ffb35 (patch) | |
tree | fdc3ecaf29b2c6a22400b377e14371a2f66c159d | |
parent | dea2bd212325e640cebba29a9d6440d43ebcb01f (diff) | |
download | brdo-4a66d329b9e25207ae716657a09f5c35620ffb35.tar.gz brdo-4a66d329b9e25207ae716657a09f5c35620ffb35.tar.bz2 |
- Patch #20312 by mif: fixed problem with blog_link().
-rw-r--r-- | modules/blog.module | 2 | ||||
-rw-r--r-- | modules/blog/blog.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/blog.module b/modules/blog.module index 62ffcadb5..45007956b 100644 --- a/modules/blog.module +++ b/modules/blog.module @@ -226,7 +226,7 @@ function blog_view(&$node, $teaser = FALSE, $page = FALSE) { /** * Implementation of hook_link(). */ -function blog_link($type, $node = 0, $main) { +function blog_link($type, $node = 0, $main = 0) { $links = array(); if ($type == 'node' && $node->type == 'blog') { diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 62ffcadb5..45007956b 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -226,7 +226,7 @@ function blog_view(&$node, $teaser = FALSE, $page = FALSE) { /** * Implementation of hook_link(). */ -function blog_link($type, $node = 0, $main) { +function blog_link($type, $node = 0, $main = 0) { $links = array(); if ($type == 'node' && $node->type == 'blog') { |