Explorar el Código

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 hace 6 años
padre
commit
65e8b73dd3
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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
     if (empty($_SESSION['error_msg'])) {
         $_SESSION['ok_msg'] = __('Changes has been saved.');
+        header("Location: /edit/web/?domain=" . $v_domain);
     }
 
 }