Merge pull request #690 from azuya/patch-3

Update edit_package.html
This commit is contained in:
Serghey Rodin 2016-06-25 11:19:30 +03:00 committed by GitHub
commit 034b2cf094

View file

@ -22,12 +22,7 @@
<div class="l-center"> <div class="l-center">
<?php <?php
$back = getenv("HTTP_REFERER"); $back = "location.href='/list/package/'";
if (empty($back)) {
$back = "location.href='/list/package/'";
} else {
$back = "location.href='".$back."'";
}
?> ?>
<form id="vstobjects" name="v_edit_package" method="post" class="<?=$v_status?>"> <form id="vstobjects" name="v_edit_package" method="post" class="<?=$v_status?>">
<input type="hidden" name="token" value="<?=$_SESSION['token']?>" /> <input type="hidden" name="token" value="<?=$_SESSION['token']?>" />