Closed (works as designed)
Project:
Drupal core
Version:
7.x-dev
Component:
comment.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Sep 2009 at 13:03 UTC
Updated:
2 Sep 2011 at 10:16 UTC
Jump to comment: Most recent file
Comments
Comment #1
mr.baileysPatch attached that verifies that $form_state['values']['comments'] is an array before performing array operations on it.
Also, the validation handler starts with:
Looking at comment_admin_overview, I don't see how $form_state['values']['comments'] can contain the value "0", so I suspect that this is a remnant from earlier times and have tentatively removed the array_diff portion since I think it is no longer needed...
Comment #2
mr.baileysComment #3
aspilicious commentedStill an issue and #1 still applies and works
"Looking at comment_admin_overview, I don't see how $form_state['values']['comments'] can contain the value "0", so I suspect that this is a remnant from earlier times and have tentatively removed the array_diff portion since I think it is no longer needed..."
Can someone gives this note a review and mark this rtbc (if the note is correct)
Comment #5
ff1 commented#1: comment-bulk-operations.patch queued for re-testing.
Comment #7
dixon_I have tested this on both 7.x and 8.x. The issue seems to have been fixed somewhere else.