Ticket #16293: edit.patch
File edit.patch, 577 bytes (added by , 14 years ago) |
---|
-
edit.php
356 356 357 357 check_admin_referer( 'deleteuser' ); 358 358 359 if ( $id != '0' && $id != '1' ) { 359 $is_super_admin = is_super_admin( $id ); //Boolean true or false 360 if ( ( true == $is_super_admin AND ( 1 < count( get_super_admins() ) ) ) OR false == $is_super_admin ) { 360 361 $_POST['allusers'] = array( $id ); // confirm_delete_users() can only handle with arrays 361 362 $title = __( 'Users' ); 362 363 $parent_file = 'users.php';