summaryrefslogtreecommitdiffstats
path: root/authfas.module
diff options
context:
space:
mode:
Diffstat (limited to 'authfas.module')
-rw-r--r--authfas.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/authfas.module b/authfas.module
index ceecab5..e0f869e 100644
--- a/authfas.module
+++ b/authfas.module
@@ -111,7 +111,8 @@ function authfas_form_user_admin_role_alter(&$form, $form_state) {
$newform = array();
// I'm obviously not very good at PHP because I couldn't figure
// out a more clever way to insert this field into an existing
- // $form array.
+ // $form array. We want the field for FAS group mapping to be part
+ // of the form *before* the submit control.
while (list($key, $val) = each($form)) {
if ($key == 'submit') {
$newform['fasgroup'] = array(