From ad6b2d079985723db91aa5eb9c75193c2f253d53 Mon Sep 17 00:00:00 2001 From: Yasen Pramatarov Date: Wed, 30 Oct 2024 22:00:39 +0200 Subject: [PATCH] Fixes host adding --- app/pages/config.php | 3 ++- app/templates/config-host-add.php | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/pages/config.php b/app/pages/config.php index ece6447..3e303c3 100644 --- a/app/pages/config.php +++ b/app/pages/config.php @@ -120,7 +120,8 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') { // FIXME the new file is not loaded on first page load unset($config); - header("Location: $app_root?platform=$platform_id&page=config"); +// header("Location: $app_root?platform=$platform_id&page=config"); + header("Location: $app_root?page=config&item=$item"); exit(); // no form submitted, show the templates diff --git a/app/templates/config-host-add.php b/app/templates/config-host-add.php index 1c5d8b6..e8354ce 100644 --- a/app/templates/config-host-add.php +++ b/app/templates/config-host-add.php @@ -3,7 +3,7 @@

Add new host in Jitsi platform

-
+
@@ -36,7 +36,7 @@

description or name of the host (optional)

- +