Skip to content

Commit 30b5330

Browse files
committed
Bug-fix.
Looking for IPAddr in the wrong object; Fixed.
1 parent 5ae0a1b commit 30b5330

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Linker.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* License: GNU/GPLv2
99
* @see LICENSE.txt
1010
*
11-
* This file: PHPMailer-phpMussel linker (last modified: 2021.09.05).
11+
* This file: PHPMailer-phpMussel linker (last modified: 2022.02.13).
1212
*/
1313

1414
namespace phpMussel\PHPMailer;
@@ -132,7 +132,7 @@ public function __invoke(string $NotUsed, array $Data): bool
132132
/** Prepare event logging. */
133133
$EventLogData = sprintf(
134134
'%s - %s - ',
135-
$this->Loader->Configuration['legal']['pseudonymise_ip_addresses'] ? $this->Loader->pseudonymiseIP($_SERVER[$this->Loader->Configuration['core']['ipaddr']]) : $_SERVER[$this->Loader->Configuration['core']['ipaddr']],
135+
$this->Loader->Configuration['legal']['pseudonymise_ip_addresses'] ? $this->Loader->pseudonymiseIP($this->Loader->IPAddr) : $this->Loader->IPAddr,
136136
$this->Loader->timeFormat($this->Loader->Time, $this->Loader->Configuration['core']['time_format'])
137137
);
138138

0 commit comments

Comments
 (0)