plugins/admin/UserManager.php
changeset 770 62fed244fa1c
parent 742 551b6a0aa3b4
child 801 eb8b23f11744
--- a/plugins/admin/UserManager.php	Sun Dec 21 04:24:52 2008 -0500
+++ b/plugins/admin/UserManager.php	Sun Dec 21 04:26:56 2008 -0500
@@ -225,6 +225,11 @@
         $to_update_users['user_rank'] = $user_rank;
         $to_update_users['user_title'] = $user_title;
         
+        if ( $user_rank > 0 )
+        {
+          $to_update_users['user_rank_userset'] = '0';
+        }
+        
         if ( isset($_POST['account_active']) )
         {
           $to_update_users['account_active'] = "1";