mirror of
https://github.com/unraid/webgui.git
synced 2026-01-06 09:39:58 -06:00
Fix: Disk creation error for VM change
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user