Can't add new group

function simple_access_group_form(&$form, &$form_state, $group = array()) {

Remove pass-by-reference

function simple_access_group_form($form, $form_state, $group = array()) {

Comments

jerrac’s picture

If you do what the inital post says, it fixes this error:

Warning: Parameter 1 to simple_access_group_form() expected to be a reference, value given in drupal_retrieve_form() (line 703 of /home/david/workspace/drupal7/includes/form.inc).

simon georges’s picture

gordon’s picture

Status: Active » Fixed

This has fixed already. closing.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.