Просмотр исходного кода

Bugfix old values were shown after changing web template option

-Reloading page after saving changes, also prevents double POST-ing when refreshing the page
Robert Zollner 6 лет назад
Родитель
Сommit
65e8b73dd3
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      web/edit/web/index.php

+ 1 - 0
web/edit/web/index.php

@@ -715,6 +715,7 @@ if (!empty($_POST['save'])) {
     // Set success message
     // Set success message
     if (empty($_SESSION['error_msg'])) {
     if (empty($_SESSION['error_msg'])) {
         $_SESSION['ok_msg'] = __('Changes has been saved.');
         $_SESSION['ok_msg'] = __('Changes has been saved.');
+        header("Location: /edit/web/?domain=" . $v_domain);
     }
     }
 
 
 }
 }