summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-10-25 08:24:43 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-10-25 08:24:43 +0000
commit4e187261abc63432130bd3b5661b622ba095ffeb (patch)
tree9fd4b59b53cd8a3b1fb2c0e04b65c9f6eb998d71 /modules/comment/comment.module
parent9d5516644c5e6b607d01d6349a2890668a354efb (diff)
downloadbrdo-4e187261abc63432130bd3b5661b622ba095ffeb.tar.gz
brdo-4e187261abc63432130bd3b5661b622ba095ffeb.tar.bz2
#177497 by chx and Desbeers: revive Drupal 5's menu_set_location() functionality by introducing menu_set_item() (for consistency in function naming), thus fixing a regression in the current development code. Also fixing some misuse of menu_set_location() by using drupal_set_breadcrumb() instead.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 86b874130..877be28ae 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -681,8 +681,7 @@ function comment_edit($cid) {
*/
function comment_reply($node, $pid = NULL) {
// Set the breadcrumb trail.
- menu_set_location(array(array('path' => "node/$node->nid", 'title' => $node->title), array('path' => "comment/reply/$node->nid")));
-
+ drupal_set_breadcrumb(array(l(t('Home'), NULL), l($node->title, 'node/'. $node->nid)));
$op = isset($_POST['op']) ? $_POST['op'] : '';
$output = '';