From b0680ee1e1ea56d2cf625a57babbb3e19b8070dd Mon Sep 17 00:00:00 2001 From: SimonFair <39065407+SimonFair@users.noreply.github.com> Date: Fri, 26 Apr 2024 18:36:41 +0100 Subject: [PATCH] Update VMedit.php --- emhttp/plugins/dynamix.vm.manager/include/VMedit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emhttp/plugins/dynamix.vm.manager/include/VMedit.php b/emhttp/plugins/dynamix.vm.manager/include/VMedit.php index fbcda9452..da2ae2a1d 100644 --- a/emhttp/plugins/dynamix.vm.manager/include/VMedit.php +++ b/emhttp/plugins/dynamix.vm.manager/include/VMedit.php @@ -96,13 +96,13 @@ if (isset($_GET['uuid'])) { $strSelectedTemplateUT = $strSelectedTemplate; if (strpos($strSelectedTemplate,"User-") !== false) $strSelectedTemplateUT = str_replace("User-","",$strSelectedTemplateUT); $newmodel = is_file("/etc/libvirt/qemu/newmodel"); -if ($newmodel && $arrLoad['form'] == "Custom.form.php") $arrLoad['form'] = "Custom.formXML.php"; +if ($newmodel && $arrLoad['form'] == "Custom.form.php") { $arrLoad['form'] = "Custom.formXML.php"; $inlineswt = ''; } else $inlineswt = "" ?> - +