Closed (fixed)
Project:
User protect
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2009 at 02:02 UTC
Updated:
26 Jul 2009 at 15:40 UTC
userprotect_check_bypass() checks the $bypass_defaults array by key. userprotect_administrator_bypass_defaults() creates a linear array (wrong), whereas a saved settings form creates an associative array (correct). Because of this bug, upon initial install, the default administrator bypass setting is effectively nothing, rather than everything as the setting form seems to indicate. Simple patch though.
| Comment | File | Size | Author |
|---|---|---|---|
| userprotect_bypass_defaults.patch | 333 bytes | cedarm |
Comments
Comment #1
hunmonk commentedcommitted to 5.x-1.x-dev and 6.x-1.x-dev -- thanks!