1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 17:14:42 +02:00

Removal of $admin_log globals.

This commit is contained in:
Cameron
2014-10-23 11:07:18 -07:00
parent 0d4e4201e0
commit 1ff46a68a2
8 changed files with 22 additions and 17 deletions

View File

@@ -217,6 +217,8 @@ class pop3BounceHandler
*/
public function processBounces()
{
$identifier = deftrue('MAIL_IDENTIFIER', 'X-e107-id');
$this->connect();
$tot = $this->getTotalMails(); // Get all the emails
for ($i = 1; $i <= $tot; $i++)
@@ -227,7 +229,7 @@ class pop3BounceHandler
//print_a($head);
$body = $this->getBody($i);
$e107Header = '';
if (preg_match('#.*X-e107-id:(.*?)[\n\r]#',$body, $result))
if (preg_match('#.*'.$identifier.':(.*?)[\n\r]#',$body, $result))
{
$e107Header = varset($result[1],'');
}