summaryrefslogtreecommitdiff
path: root/modules/comment
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-06-26 23:11:35 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2011-06-26 23:11:35 -0700
commit2ecc273c60f3b625fe3b44005813e73eba5ea57a (patch)
tree6c32911e66cf0f6a329dff9544934d265328afae /modules/comment
parent67ff15fef110f4e64ab2e069bc94ba1773e376b1 (diff)
downloadbrdo-2ecc273c60f3b625fe3b44005813e73eba5ea57a.tar.gz
brdo-2ecc273c60f3b625fe3b44005813e73eba5ea57a.tar.bz2
Issue #253725 by jhodgdon: Fixed () in search results does not have array keys on comments and uploads values.
Diffstat (limited to 'modules/comment')
-rw-r--r--modules/comment/comment.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 0381fac7d..8d0c3d362 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -1369,7 +1369,7 @@ function comment_node_search_result($node) {
// Do not make a string if comments are closed and there are currently
// zero comments.
if ($node->comment != COMMENT_NODE_CLOSED || $comments > 0) {
- return format_plural($comments, '1 comment', '@count comments');
+ return array('comment' => format_plural($comments, '1 comment', '@count comments'));
}
}
}