Corrected error message
This commit is contained in:
parent
81d21c311f
commit
fe09cd7496
@ -2,7 +2,7 @@
|
|||||||
if ( isset ( $GLOBALS [ 'request_uri' ] [ 1 ] ) ) {
|
if ( isset ( $GLOBALS [ 'request_uri' ] [ 1 ] ) ) {
|
||||||
$link_id = $GLOBALS [ 'request_uri' ] [ 1 ];
|
$link_id = $GLOBALS [ 'request_uri' ] [ 1 ];
|
||||||
if ( ! ctype_digit ( $link_id ) ) {
|
if ( ! ctype_digit ( $link_id ) ) {
|
||||||
die ( "You can't be forwarded to a non numerical URL link ID. If you think this is incorrect, please send an email to shorte@dev.bryanpedini.it with this URL: https://sh.bjphoster.com/?go=" . $link_id . " for more investigations" );
|
die ( "You can't be forwarded to a non numerical URL link ID. If you think this is incorrect, please send an email to shorte@dev.bryanpedini.it with this URL: https://sh.bjphoster.com/go/" . $link_id . " for more investigations" );
|
||||||
}
|
}
|
||||||
$link_id = (int) $link_id;
|
$link_id = (int) $link_id;
|
||||||
$database = new Database ( $GLOBALS [ 'config' ] [ 'db' ] );
|
$database = new Database ( $GLOBALS [ 'config' ] [ 'db' ] );
|
||||||
|
Reference in New Issue
Block a user