Changeset 188


Ignore:
Timestamp:
Oct 9, 2003, 9:39:30 PM (21 years ago)
Author:
z0rglub
Message:

if we try to modify the webmaster, we have to set the status to "admin"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/user_modify.php

    r171 r188  
    6767    $use_new_password = true;
    6868  }
     69  // if we try to update the webmaster infos, we have to set the status to
     70  // 'admin'
     71  if ( $row['username'] == $conf['webmaster'] )
     72    $_POST['status'] = 'admin';
     73
    6974  $error = array_merge( $error, update_user(
    7075                          $_GET['user_id'], $_POST['mail_address'],
Note: See TracChangeset for help on using the changeset viewer.