diff --git a/views/send-system-info.php b/views/send-system-info.php index 531152b..6546e20 100644 --- a/views/send-system-info.php +++ b/views/send-system-info.php @@ -39,23 +39,23 @@ function ssi_display_tab_content() { ob_start(); echo '
'; + $tab = ( !empty($_GET["tab"]) ? $_GET["tab"] : 'send-as-text' ); + $path = SSI_VIEWS_DIR . 'send-as-text-page.php'; - if($_GET["tab"] == "send-as-text") { + if( $tab == "send-as-text") { $path = apply_filters( 'ssi_send_as_text_page_path', $path ); include( $path ); } - elseif($_GET["tab"] == "send-as-email") { ?> + elseif( $tab == "send-as-email") { ?> + elseif( $tab == "send-as-url") { ?> '; $output = ob_get_clean();