Typo in node_content.inc

mortendk - January 10, 2008 - 11:45
Project:Panels
Version:5.x-2.0-beta2
Component:Plugins - content types
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

It seems like the urls for a node title isnt correct when its formatted.
It takes the positive value from $conf['link'] so all the links are set to 1
this should do the trick in node_content.inc line 76

if (!empty($conf['link']) && $node) {
    $block->title_link =  "node/$node->nid";
}

#1

mortendk - January 10, 2008 - 11:47
Title:node contex title url -$conf['link']» node title url set to 1

#2

merlinofchaos - January 10, 2008 - 16:50
Status:active» fixed

Committed! Thanks for the catch!

#3

mortendk - January 24, 2008 - 16:13
Version:5.x-2.0-beta1» 5.x-2.0-beta2

hmm in beta 2 theres a slight typo ... $nide
$block->title_link = "node/$nide->nid";
should be
$block->title_link = "node/$node->nid";

cheers

#4

kdebaas - January 30, 2008 - 18:30
Title:node title url set to 1» Typo in node_content.inc
Status:fixed» active

#5

kdebaas - February 6, 2008 - 17:32
Status:active» fixed

Fixed in 5.x-2.0-dev

#6

Anonymous (not verified) - February 20, 2008 - 17:32
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.