Updated to support php 5.3

This commit is contained in:
laf
2016-08-08 20:03:40 +01:00
parent ec4535dae7
commit 544fd95a63

View File

@@ -51,7 +51,7 @@ if (!is_dir($pmxcdir)) {
dbUpdate(array('device_id' => $device['device_id'], 'app_type' => 'proxmox', 'app_instance' => $pmxcluster), 'applications', '`device_id` = ? AND `app_type` = ?', array($device['device_id'], 'proxmox'));
if (count($pmxlines) > 0) {
$pmxcache = [];
$pmxcache = array();
foreach ($pmxlines as $vm) {
list($vmid, $vmport, $vmpin, $vmpout, $vmdesc) = explode('/', $vm, 5);