Update result.php

This commit is contained in:
LordBeaver
2015-02-21 21:36:45 +03:00
parent 0e28538aa5
commit 665668d253

View File

@@ -12,7 +12,7 @@ if (!$resp->is_valid) {
} }
$url = yourls_sanitize_url( $_REQUEST['url'] ); $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'] ) : '' ; $title = isset( $_REQUEST['title'] ) ? yourls_sanitize_title( $_REQUEST['title'] ) : '' ;
$return = yourls_add_new_link( $url, $keyword, $title ); $return = yourls_add_new_link( $url, $keyword, $title );
@@ -22,7 +22,7 @@ $title = isset( $return['title'] ) ? $return['title'] : '';
?> ?>
<!-- Error reporting --> <!-- Error reporting -->
<?php echo $error; ?> <?php isset( $error ) ? echo $error : ''; ?>
<!-- Default output --> <!-- Default output -->
<h2><?php yourls_e( 'Results', 'isq_translation'); ?></h2> <h2><?php yourls_e( 'Results', 'isq_translation'); ?></h2>