How to reproduce?
1) Goto admin/access/rules/add
2) Fill in the form and submit
3) Try to edit the rules. Nope. The form is empty.

1) Goto admin/logs/visitors
2) Choose any row and click 'ban'
3) What do you see? heh, it's a nice empty form.

What happens?
The form is built by function _user_admin_access_form(), which gets the $edit array as its argument. However, this array is not used to populate the #default_value element of form fields.

Please, see attached patch.

CommentFileSizeAuthor
user.module.access_rules.patch1015 bytesmarkus_petrux
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

adrian’s picture

Status: Needs review » Reviewed & tested by the community

tested and works as advertised.

+1

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)