Gazelle/sections/comments/jump.php

12 lines
204 B
PHP
Raw Normal View History

2013-08-28 23:08:41 +00:00
<?
if (!isset($_REQUEST['postid']) || !is_number($_REQUEST['postid'])) {
error(0);
}
$URL = Comments::get_url_query((int)$_REQUEST['postid']);
if (!$URL) {
error(0);
}
header("Location: $URL");
die();