mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 15:45:55 +08:00
Update index.php
This commit is contained in:
parent
8b8b0fc7e4
commit
a24dade801
|
@ -22,7 +22,7 @@ class LoginOverridePlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
$sMapping = \trim($this->Config()->Get('plugin', 'email_mapping', ''));
|
||||
if (!empty($sMapping)) {
|
||||
$aList = \preg_split('/\\R/', $sMapping);
|
||||
foreach ($aList as $line) {
|
||||
foreach ($aList as $sLine) {
|
||||
$aData = \explode(':', $sLine, 2);
|
||||
if (!empty($aData[1]) && $sEmail === \trim($aData[0])) {
|
||||
$sEmail = \trim($aData[1]);
|
||||
|
|
Loading…
Reference in a new issue