Index: advuser.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/advuser/advuser.module,v
retrieving revision 1.14.2.5
diff -u -p -r1.14.2.5 advuser.module
--- advuser.module	18 Feb 2009 12:27:46 -0000	1.14.2.5
+++ advuser.module	18 Feb 2009 12:38:06 -0000
@@ -152,9 +152,9 @@ function advuser_admin_account() {
     foreach(advuser_profile_fields() as $field) {
       $form[$field->name][$account->uid] = array('#value' => profile_view_field($account, $field));
     }
-    $fv = l(t('edit'), "user/$account->uid/edit", array(), $destination);
+    $fv = l(t('edit'), "user/$account->uid/edit", array('query' => $destination));
     if ($account->uid != 1) {
-      $fv .= ' | ' . l(t('delete'), "user/$account->uid/delete", array(), $destination);
+      $fv .= ' | ' . l(t('delete'), "user/$account->uid/delete", array('query' => $destination));
     }
     $form['operations'][$account->uid] = array('#value' => $fv);
   }
@@ -533,7 +533,7 @@ function _advuser_get_variables($user) {
   return array(
     '%user_name' => $user->name,
     '%site' => variable_get("site_name", "drupal"), 
-    '%uri' => url('user/'. $user->uid, NULL, NULL, TRUE), 
+    '%uri' => url('user/'. $user->uid, array('absolute' => TRUE)), 
     '%user_email' => $user->mail,
     '%user_status' => t($user->status ? 'Active' : 'Blocked'),
     '%user_theme' => empty($user->theme) ? t('DEFAULT') : $user->theme,
