- Fixed tracker bug: tracker module has a line of faulty code which tries
to get the node name in the old way. Patch by JonBob.4.4.x
parent
48a4dff897
commit
fb1195258f
|
@ -60,7 +60,7 @@ function tracker_posts($id = 0) {
|
|||
$cresult = db_query("SELECT c.*, u.name FROM {comments} c INNER JOIN {users} u ON c.uid = u.uid WHERE c.nid = %d AND c.status = 0 ORDER BY c.cid DESC", $node->nid);
|
||||
}
|
||||
|
||||
$type = ucfirst(module_invoke($node->type, "node", "name"));
|
||||
$type = ucfirst(node_invoke($node->type, "node_name"));
|
||||
$title = l($node->title, "node/view/$node->nid") ." ". (node_is_new($node->nid, $node->changed) ? theme("mark") : "");
|
||||
$author = format_name($node);
|
||||
|
||||
|
|
|
@ -60,7 +60,7 @@ function tracker_posts($id = 0) {
|
|||
$cresult = db_query("SELECT c.*, u.name FROM {comments} c INNER JOIN {users} u ON c.uid = u.uid WHERE c.nid = %d AND c.status = 0 ORDER BY c.cid DESC", $node->nid);
|
||||
}
|
||||
|
||||
$type = ucfirst(module_invoke($node->type, "node", "name"));
|
||||
$type = ucfirst(node_invoke($node->type, "node_name"));
|
||||
$title = l($node->title, "node/view/$node->nid") ." ". (node_is_new($node->nid, $node->changed) ? theme("mark") : "");
|
||||
$author = format_name($node);
|
||||
|
||||
|
|
Loading…
Reference in New Issue