Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
4a66d329
Commit
4a66d329
authored
Apr 12, 2005
by
Dries Buytaert
Browse files
- Patch
#20312
by mif: fixed problem with blog_link().
parent
dea2bd21
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/blog.module
View file @
4a66d329
...
...
@@ -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'
)
{
...
...
modules/blog/blog.module
View file @
4a66d329
...
...
@@ -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'
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment