diff --git a/plugins/wporg-5ftf/includes/reports.php b/plugins/wporg-5ftf/includes/reports.php index ca5a308..973d143 100644 --- a/plugins/wporg-5ftf/includes/reports.php +++ b/plugins/wporg-5ftf/includes/reports.php @@ -58,7 +58,7 @@ function render_company_report_page() { $status = sanitize_title( $_GET['status'] ); - if ( ! in_array( $status, array( 'draft','5ftf-deactivated','publish' ) ) ) { + if ( ! in_array( $status, array( 'draft', '5ftf-deactivated', 'publish' ) ) ) { $status = 'all'; } @@ -126,7 +126,7 @@ function render_company_report_page() { $wporg_profiles = wp_list_pluck( $users, 'post_title' ); $usernames = implode( ', ', $wporg_profiles ); - $teams = implode( ', ', str_replace( ' Team', '', $team[ 'teams' ] ) ); + $teams = implode( ', ', str_replace( ' Team', '', $team['teams'] ) ); echo '