summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/comment/comment.admin.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/comment/comment.admin.inc b/modules/comment/comment.admin.inc
index 706b10ff2..69118f4e6 100644
--- a/modules/comment/comment.admin.inc
+++ b/modules/comment/comment.admin.inc
@@ -75,6 +75,8 @@ function comment_admin_overview($form, &$form_state, $arg) {
->limit(50)
->orderByHeader($header)
->execute();
+
+ $cids = array();
// We collect a sorted list of node_titles during the query to attach to the
// comments later.
@@ -89,7 +91,7 @@ function comment_admin_overview($form, &$form_state, $arg) {
$destination = drupal_get_destination();
foreach ($comments as $comment) {
- // Dequeue the first node title from the node_titles array and attach to
+ // Remove the first node title from the node_titles array and attach to
// the comment.
$comment->node_title = array_shift($node_titles);
$options[$comment->cid] = array(