diff --git a/result.php b/result.php index b6765c3..aeaa035 100644 --- a/result.php +++ b/result.php @@ -12,17 +12,17 @@ if (!$resp->is_valid) { } $url = yourls_sanitize_url( $_REQUEST['url'] ); -$keyword = isset( $_REQUEST['keyword'] ) ? yourls_sanitize_keyword( $_REQUEST['keyword'] ): '' ; +$keyword = isset( $_REQUEST['keyword'] ) ? yourls_sanitize_keyword( $_REQUEST['keyword'] ) : '' ; $title = isset( $_REQUEST['title'] ) ? yourls_sanitize_title( $_REQUEST['title'] ) : '' ; $return = yourls_add_new_link( $url, $keyword, $title ); - + $shorturl = isset( $return['shorturl'] ) ? $return['shorturl'] : ''; $message = isset( $return['message'] ) ? $return['message'] : ''; $title = isset( $return['title'] ) ? $return['title'] : ''; ?> - +