Redirect Events when post

Fixes broken back due to form resubmit
This commit is contained in:
digital-gnome
2017-12-09 11:23:50 -05:00
parent c87d170972
commit ee5552d9f9

View File

@@ -88,6 +88,11 @@ $pagination = getPagination( $pages, $page, $maxShortcuts, $filterQuery.$sortQue
$focusWindow = true;
if ($_POST) {
header("Location: " . $_SERVER['REQUEST_URI'].htmlspecialchars_decode($filterQuery).htmlspecialchars_decode($sortQuery).'&limit='.$limit.'&page='.$page);
exit();
}
xhtmlHeaders(__FILE__, translate('Events') );
?>