diff options
Diffstat (limited to 'admin/cat_perm.php')
-rw-r--r-- | admin/cat_perm.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/cat_perm.php b/admin/cat_perm.php index 70a053ade..b571caeab 100644 --- a/admin/cat_perm.php +++ b/admin/cat_perm.php @@ -75,7 +75,7 @@ if ( isset( $_POST['submit'] ) ) $query.= ';'; mysql_query( $query ); $query = 'SELECT id'; - $query.= ' FROM '.PREFIX_TABLE.'users'; + $query.= ' FROM '.USERS_TABLE; $query.= ';'; $result = mysql_query( $query ); while ( $row = mysql_fetch_array( $result ) ) @@ -137,7 +137,7 @@ if ( mysql_num_rows( $result ) > 0 ) } //----------------------------------------------------------------------- users $query = 'SELECT id,username,status'; -$query.= ' FROM '.PREFIX_TABLE.'users'; +$query.= ' FROM '.USERS_TABLE; // only the webmaster can modify webmaster's permissions if ( $user['username'] != $conf['webmaster'] ) { |