Skip to content

Commit 46e2527

Browse files
committed
do not redirect if record id has not been changed
1 parent 5981afc commit 46e2527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/edit/dns/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
$_SESSION['ok_msg'] = __('Changes has been saved.');
213213
}
214214

215-
if ($_GET['record_id'] != $_POST['v_record_id']) {
215+
if ((empty($_SESSION['error_msg'])) && ($_GET['record_id'] != $_POST['v_record_id'])) {
216216
header("Location: /edit/dns/?domain=".$_GET['domain']."&record_id=".$_POST['v_record_id']);
217217
exit;
218218
}

0 commit comments

Comments
 (0)