From 0e93efd7cbc9ab0a08943778bb3e64544a2a3e47 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Sat, 5 Sep 2015 17:53:29 +0200 Subject: [PATCH] [ticket/14143] Flush the mail queue when writing it PHPBB3-14143 --- phpBB/includes/functions_messenger.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php index fbac3e6f1d..ae393739b9 100644 --- a/phpBB/includes/functions_messenger.php +++ b/phpBB/includes/functions_messenger.php @@ -902,6 +902,8 @@ class queue fclose($fp); phpbb_chmod($this->cache_file, CHMOD_READ | CHMOD_WRITE); + + $this->data = array(); } $lock->release();