summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index cbaad8d4c..ca2d522e1 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -284,10 +284,10 @@ function comment_perm() {
*
* Generates a block with the most recent comments.
*/
-function comment_block($op = 'list', $delta = 0, $edit = array()) {
+function comment_block($op = 'list', $delta = '', $edit = array()) {
switch ($op) {
case 'list':
- $blocks[0]['info'] = t('Recent comments');
+ $blocks['recent']['info'] = t('Recent comments');
return $blocks;
case 'configure':