diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2005-08-18 12:44:24 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2005-08-18 12:44:24 +0000 |
commit | 42126c23ecd1ff98ece8a8e364d0b9a7d990352d (patch) | |
tree | 3205f2a41ec62c0a33a6ccd8d0346ae4d11a1504 /phpBB/includes/functions_messenger.php | |
parent | 4740e7dece880f5cda26976ba758fc31c769f231 (diff) | |
download | forums-42126c23ecd1ff98ece8a8e364d0b9a7d990352d.tar forums-42126c23ecd1ff98ece8a8e364d0b9a7d990352d.tar.gz forums-42126c23ecd1ff98ece8a8e364d0b9a7d990352d.tar.bz2 forums-42126c23ecd1ff98ece8a8e364d0b9a7d990352d.tar.xz forums-42126c23ecd1ff98ece8a8e364d0b9a7d990352d.zip |
- fixing annoying queue bug
git-svn-id: file:///svn/phpbb/trunk@5194 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_messenger.php')
-rw-r--r-- | phpBB/includes/functions_messenger.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php index ad7cff734f..e9973f9b02 100644 --- a/phpBB/includes/functions_messenger.php +++ b/phpBB/includes/functions_messenger.php @@ -239,7 +239,9 @@ class messenger // function save_queue() { - if ($config['email_package_size'] && $this->use_queue) + global $config; + + if ($config['email_package_size'] && $this->use_queue && !empty($this->queue)) { $this->queue->save(); } |