This commit is contained in:
SimonFair
2025-02-04 17:19:37 +00:00
parent a8c4417a15
commit 74f78fbc8c

View File

@@ -890,7 +890,7 @@ case 'vm-template-import':
$replace = $_REQUEST['replace'];
$templateslocation = "/boot/config/plugins/dynamix.vm.manager/savedtemplates.json";
if ($template="*file") {
if ($template==="*file") {
$template=json_decode(file_get_contents($name));
}