plugins/admin/UserManager.php
changeset 770 62fed244fa1c
parent 742 551b6a0aa3b4
child 801 eb8b23f11744
equal deleted inserted replaced
769:1946d845bb25 770:62fed244fa1c
   223         $to_update_users['signature'] = $signature;
   223         $to_update_users['signature'] = $signature;
   224         $to_update_users['user_level'] = $user_level;
   224         $to_update_users['user_level'] = $user_level;
   225         $to_update_users['user_rank'] = $user_rank;
   225         $to_update_users['user_rank'] = $user_rank;
   226         $to_update_users['user_title'] = $user_title;
   226         $to_update_users['user_title'] = $user_title;
   227         
   227         
       
   228         if ( $user_rank > 0 )
       
   229         {
       
   230           $to_update_users['user_rank_userset'] = '0';
       
   231         }
       
   232         
   228         if ( isset($_POST['account_active']) )
   233         if ( isset($_POST['account_active']) )
   229         {
   234         {
   230           $to_update_users['account_active'] = "1";
   235           $to_update_users['account_active'] = "1";
   231         }
   236         }
   232         else
   237         else