Changeset 190 for trunk/admin/cat_perm.php
- Timestamp:
- Oct 9, 2003, 9:39:59 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/cat_perm.php
r168 r190 129 129 $query = 'SELECT id,username,status'; 130 130 $query.= ' FROM '.PREFIX_TABLE.'users'; 131 $query.= " WHERE username != '".$conf['webmaster']."'"; 131 // only the webmaster can modify webmaster's permissions 132 if ( $user['username'] != $conf['webmaster'] ) 133 { 134 $query.= " WHERE username != '".$conf['webmaster']."'"; 135 } 132 136 $query.= ';'; 133 137 $result = mysql_query( $query );
Note: See TracChangeset
for help on using the changeset viewer.