From 1ad896a5bed4433ccf238bb929d1b50a60ee330a Mon Sep 17 00:00:00 2001 From: SimonFair <39065407+SimonFair@users.noreply.github.com> Date: Fri, 24 Oct 2025 10:29:45 +0100 Subject: [PATCH] Fix: Disk creation error for VM change --- emhttp/plugins/dynamix.vm.manager/templates/Custom.form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emhttp/plugins/dynamix.vm.manager/templates/Custom.form.php b/emhttp/plugins/dynamix.vm.manager/templates/Custom.form.php index bde11c7c7..c9f721932 100644 --- a/emhttp/plugins/dynamix.vm.manager/templates/Custom.form.php +++ b/emhttp/plugins/dynamix.vm.manager/templates/Custom.form.php @@ -255,7 +255,7 @@ if (isset($_POST['updatevm'])) { $xml = str_replace($olduuid,$newuuid,$xml); } else { // form view - if ($error = create_vdisk($_POST) === false) { + if (($error = create_vdisk($_POST)) === false) { $arrExistingConfig = custom::createArray('domain',$strXML); $arrUpdatedConfig = custom::createArray('domain',$lv->config_to_xml($_POST)); if ($debug) {