Gazelle/sections/comments/jump.php
2013-08-28 23:08:41 +00:00

12 lines
204 B
PHP

<?
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();