Commit 4a66d329 authored by Dries's avatar Dries
Browse files

- Patch #20312 by mif: fixed problem with blog_link().

parent dea2bd21
......@@ -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') {
......
......@@ -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') {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment