From e6627719f68068e92455c60f1171301a20a3d58f Mon Sep 17 00:00:00 2001 From: Joe Dolson Date: Tue, 26 Dec 2023 15:29:07 -0600 Subject: [PATCH] Don't show hidden cols button outside of printable view --- src/mt-reports.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mt-reports.php b/src/mt-reports.php index 0ec42e1b..27387aa2 100644 --- a/src/mt-reports.php +++ b/src/mt-reports.php @@ -57,7 +57,7 @@ function mt_reports_page() { } $back_url = admin_url( apply_filters( 'mt_printable_report_back', 'admin.php?page=mt-reports&mt-event-report=' . $report_type . '&event_id=' . $event_id ) ); $return = ( isset( $_GET['mt_print'] ) ) ? '' . __( 'Return to My Tickets Reports', 'my-tickets' ) . '' : ''; - $show = ''; + $show = ( isset( $_GET['mt_print'] ) ) ? '' : ''; echo '

' . __( 'Print this report', 'my-tickets' ) . ' ' . $return . ' ' . $show . '

'; } ?>