From 8cc05e174e5f63f02e49d9598076bd08361e0c3f Mon Sep 17 00:00:00 2001 From: Juan Date: Thu, 13 Sep 2018 14:59:49 +0200 Subject: [PATCH] TPV mail cleaning bug fixed --- debian/changelog | 2 +- package.json | 2 +- rest/tpv/confirm-mail.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 1deae95f..4684b5cf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.406.20) stable; urgency=low +hedera-web (1.406.21) stable; urgency=low * Initial Release. diff --git a/package.json b/package.json index c2c8fab5..c5216949 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "1.406.20", + "version": "1.406.21", "description": "Verdnatura web page", "license": "GPL-3.0", "repository": { diff --git a/rest/tpv/confirm-mail.php b/rest/tpv/confirm-mail.php index 28f1f6d4..29fcbf68 100644 --- a/rest/tpv/confirm-mail.php +++ b/rest/tpv/confirm-mail.php @@ -82,7 +82,7 @@ class ConfirmMail extends Vn\Lib\Method { $filter = sprintf('BEFORE "%s"', $date->format('D, j M Y')); foreach ($folders as $folder) - if (imap_reopen($imap, $mailbox.'.'.$folder)) + if (imap_reopen($imap, $mailbox.$folder)) if ($messages = imap_search($imap, $filter)) { foreach ($messages as $message) imap_delete($imap, $message);