fix: Strip out " returned from Proxmox application #4908 (#5003)

* fix: Strip out " returned from Proxmox application

* updated to str_replace
This commit is contained in:
Neil Lathwood
2016-11-21 14:05:22 +00:00
committed by Tony Murray
parent 42123010c8
commit 63569b5bbe

View File

@@ -64,6 +64,7 @@ if ($proxmox) {
$pmxcache = array();
foreach ($pmxlines as $vm) {
$vm = str_replace('"', '', $vm);
list($vmid, $vmport, $vmpin, $vmpout, $vmdesc) = explode('/', $vm, 5);
print "Proxmox ($pmxcluster): $vmdesc: $vmpin/$vmpout/$vmport\n";