summaryrefslogtreecommitdiff
path: root/modules/blog
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-07-19 07:15:35 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-07-19 07:15:35 +0000
commitc11c1c2800a91e1795ca75fb4206948015a976c3 (patch)
tree459a2c239615c61b1c5425617587a389b550e303 /modules/blog
parent751a6979efe05d7d065cb7b3042ffcdb60182c8a (diff)
downloadbrdo-c11c1c2800a91e1795ca75fb4206948015a976c3.tar.gz
brdo-c11c1c2800a91e1795ca75fb4206948015a976c3.tar.bz2
#73605 by RobRoy, make hook_link() implementations consistent with documentation.
Diffstat (limited to 'modules/blog')
-rw-r--r--modules/blog/blog.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module
index 13da3d34f..a2a0ccbff 100644
--- a/modules/blog/blog.module
+++ b/modules/blog/blog.module
@@ -244,7 +244,7 @@ function blog_view(&$node, $teaser = FALSE, $page = FALSE) {
/**
* Implementation of hook_link().
*/
-function blog_link($type, $node = 0, $main = 0) {
+function blog_link($type, $node = NULL, $teaser = FALSE) {
$links = array();
if ($type == 'node' && $node->type == 'blog') {