mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
do not redirect if record id has not been changed
This commit is contained in:
parent
5981afc795
commit
46e2527c5a
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ if ((!empty($_GET['domain'])) && (empty($_GET['record_id']))) {
|
|||
$_SESSION['ok_msg'] = __('Changes has been saved.');
|
||||
}
|
||||
|
||||
if ($_GET['record_id'] != $_POST['v_record_id']) {
|
||||
if ((empty($_SESSION['error_msg'])) && ($_GET['record_id'] != $_POST['v_record_id'])) {
|
||||
header("Location: /edit/dns/?domain=".$_GET['domain']."&record_id=".$_POST['v_record_id']);
|
||||
exit;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue