]> git.proxmox.com Git - pmg-api.git/commit
fix use of uninitialized value
authorMira Limbeck <m.limbeck@proxmox.com>
Tue, 18 Jun 2019 09:26:03 +0000 (11:26 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 18 Jun 2019 10:23:51 +0000 (12:23 +0200)
commit21752ddf126d5803239dbd867802b361ace2495b
treecc79d9b4b1a3a6450682d2d5d3bfbc9165d47943
parentda14f4e151498f9e74610d9ae5100aeffa6c7d8a
fix use of uninitialized value

Return early if $info is not defined.

When moving a mail directly to quarantine without running any checks
there's no spaminfo available. As a result the value $info is
undefined.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
PMG/API2/Quarantine.pm