Closed (fixed)
Project:
User protect
Version:
7.x-1.0
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Oct 2011 at 09:17 UTC
Updated:
11 Nov 2011 at 10:40 UTC
Installed and configured OK. Everything works.
Later, as clean up I delete the default created user under 'Administrator bypass' tab.
From now on, the error appears always when switching to 'Protected roles' tab.
Recreating the deleted record gets it back to normal.
Comments
Comment #1
hunmonk commentedplease provide exact steps to reproduce, your report is not clear enough for me to understand the problem.
Comment #2
amonteroMessage appears:
"Warning: Invalid argument supplied for foreach() in element_children() (line 6141 of /home/amontero/www/drupal-sandbox-1/includes/common.inc)."
Comment #3
amonteroComment #4
hunmonk commentedthis is a minor error with building the form in the case where there are no users with administrator bypass -- it doesn't affect the normal functionality of the module at all.
i've committed a fix for this issue to 6.x-1.x-dev and 7.x-1.x-dev.
Comment #5
amonteroApplied patch to my 7.x-1.0
Works OK.
Thanks.