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 |
Jump to:
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
#2
Committed! Thanks for the catch!
#3
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
#5
Fixed in 5.x-2.0-dev
#6
Automatically closed -- issue fixed for two weeks with no activity.