? role_expire-584046.patch
Index: role_expire.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/role_expire/role_expire.module,v
retrieving revision 1.7
diff -u -p -b -r1.7 role_expire.module
--- role_expire.module	23 Sep 2009 09:17:28 -0000	1.7
+++ role_expire.module	23 Sep 2009 13:02:44 -0000
@@ -191,7 +191,8 @@ function role_expire_form_user_profile_f
  */
 function role_expire_form_user_admin_role_alter(&$form, $form_state) {
   $form['role_expire'] = array(
-    '#title' => t("Default day length for the role", array('%role' => ucfirst($role))),
+    '#title' => t("Default day length for the role %role",
+      array('%role' => ucfirst($form['name']['#default_value']))),
     '#type' => 'textfield',
     '#size' => 8,
     '#default_value' => role_expire_get_default_duration($form['rid']['#value']),
