Skip to content
Snippets Groups Projects
Commit a1ff602e authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #773522 by BarisW: blog links appear on all content types.

parent 2aad3ce0
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ function blog_view($node, $view_mode) {
*/
function blog_node_view($node, $view_mode = 'full') {
if ($view_mode != 'rss') {
if ($node->type == 'blog' && arg(0) != 'blog' || arg(1) != $node->uid) {
if ($node->type == 'blog' && (arg(0) != 'blog' || arg(1) != $node->uid)) {
$links['blog_usernames_blog'] = array(
'title' => t("!username's blog", array('!username' => format_username($node))),
'href' => "blog/$node->uid",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment