diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-11-08 10:02:41 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-11-08 10:02:41 +0000 |
commit | 4d46b7cdf838900dc3f052197b63a9ce80d3992b (patch) | |
tree | b3ea3efb3c29a98afb8724c5655b82864395b928 /modules/comment/comment.pages.inc | |
parent | 370d07e9f75bf5ebdd6ac87de0f0b956d3f8dabd (diff) | |
download | brdo-4d46b7cdf838900dc3f052197b63a9ce80d3992b.tar.gz brdo-4d46b7cdf838900dc3f052197b63a9ce80d3992b.tar.bz2 |
Roll-back of #595084; type-hinting parameters at stdClass makes it so you can't ever pass in another type of class.
Diffstat (limited to 'modules/comment/comment.pages.inc')
-rw-r--r-- | modules/comment/comment.pages.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.pages.inc b/modules/comment/comment.pages.inc index 3817a708d..72b490497 100644 --- a/modules/comment/comment.pages.inc +++ b/modules/comment/comment.pages.inc @@ -27,7 +27,7 @@ * @return * The rendered parent node or comment plus the new comment form. */ -function comment_reply(stdClass $node, $pid = NULL) { +function comment_reply($node, $pid = NULL) { // Set the breadcrumb trail. drupal_set_breadcrumb(array(l(t('Home'), NULL), l($node->title[FIELD_LANGUAGE_NONE][0]['value'], 'node/' . $node->nid))); $op = isset($_POST['op']) ? $_POST['op'] : ''; |