diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-11-01 12:11:10 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-11-01 12:11:10 +0000 |
commit | e4ca439ba1f901526526f73adb106f7075fb5f11 (patch) | |
tree | 76eb2589699014fb67f5f10fdaef86d6ba1a0821 /modules/comment/comment.pages.inc | |
parent | 534c89f21e46116d1a627057158ca1fd02b129a6 (diff) | |
download | brdo-e4ca439ba1f901526526f73adb106f7075fb5f11.tar.gz brdo-e4ca439ba1f901526526f73adb106f7075fb5f11.tar.bz2 |
- Patch #595084 by c960657: use type hinting for .
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 72b490497..3817a708d 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($node, $pid = NULL) { +function comment_reply(stdClass $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'] : ''; |