diff --git a/includes/html/application/proxmox.inc.php b/includes/html/application/proxmox.inc.php index 986b5ae3e936800b7ab1b710513f6ae6df785e6a..f475b8845861351c2eb461067a5a0c4186a09990 100644 --- a/includes/html/application/proxmox.inc.php +++ b/includes/html/application/proxmox.inc.php @@ -16,7 +16,6 @@ * See https://www.gnu.org/licenses/gpl.txt for the full license */ - /** * Fetch all info about a Proxmox VM * diff --git a/includes/polling/applications/proxmox.inc.php b/includes/polling/applications/proxmox.inc.php index 17ec9b805c62fbc4753fbc3f02a0fa244579f3e2..2ffb0edc820f777733b5affcb7815f186b7103d7 100644 --- a/includes/polling/applications/proxmox.inc.php +++ b/includes/polling/applications/proxmox.inc.php @@ -32,7 +32,7 @@ try { } } catch (JsonAppParsingFailedException $e) { $status = 'OK'; - $pmxlines = explode("\n", Str::chopStart($e->getOutput(), "<<>>")); + $pmxlines = explode("\n", Str::chopStart($e->getOutput(), '<<>>')); $pmxcluster = array_shift($pmxlines); foreach ($pmxlines as $pmxline) { $vm_ports[] = explode('/', $pmxline, 5);