Skip to content

Commit 034b2cf

Browse files
Merge pull request hestiacp#690 from azuya/patch-3
Update edit_package.html
2 parents ff7d48b + 449fd97 commit 034b2cf

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

web/templates/admin/edit_package.html

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,7 @@
2222

2323
<div class="l-center">
2424
<?php
25-
$back = getenv("HTTP_REFERER");
26-
if (empty($back)) {
27-
$back = "location.href='/list/package/'";
28-
} else {
29-
$back = "location.href='".$back."'";
30-
}
25+
$back = "location.href='/list/package/'";
3126
?>
3227
<form id="vstobjects" name="v_edit_package" method="post" class="<?=$v_status?>">
3328
<input type="hidden" name="token" value="<?=$_SESSION['token']?>" />

0 commit comments

Comments
 (0)