Dotclear

Changeset 3391:760cec2e5217


Ignore:
Timestamp:
11/05/16 00:20:39 (9 years ago)
Author:
Jean-Christian Denis <contact@…>
Branch:
default
Message:

Fix superadmin checkbox for existing new userid, closes #1738

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/user.php

    r3274 r3391  
    8989          $cur->user_post_status = $user_post_status = $_POST['user_post_status']; 
    9090 
    91           if ($cur->user_id == $core->auth->userID() && $core->auth->isSuperAdmin()) { 
     91          if ($user_id && $cur->user_id == $core->auth->userID() && $core->auth->isSuperAdmin()) { 
    9292               // force super_user to true if current user 
    9393               $cur->user_super = $user_super = true; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map