Closed (fixed)
Project:
Comment Notify
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Dec 2008 at 00:59 UTC
Updated:
21 Jan 2009 at 06:20 UTC
When bringing up admin/settings/comment_notify, I receive:
warning: Invalid argument supplied for foreach() in /Applications/MAMP/htdocs/IGL-TGP/includes/form.inc on line 1193.
It looks like the checkbox default is being sent a boolean for comment_notify_available_alerts and it needs something else for the checkbox logic to work.
Line 1193 is the second one (from form.inc):
foreach ($form['#default_value'] as $key) {
$value[$key] = 1;
}
return $value;
Comments
Comment #1
gregglesThanks for the bug report. I believe this is fixed in the latest version of 6.x-1.x-dev. Can you test that out and let me know?
Thanks.
Comment #2
Walt Esquivel commentedI had the same error as aangel with 6.x-1.1.
I installed 6.x-1.x-dev & the error is now gone.
Thanks greggles.