mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-09 22:48:28 +03:00
Fix so it can handle Dovecot master logins
This commit is contained in:
parent
586d409b6e
commit
2361e4f8ce
1 changed files with 2 additions and 2 deletions
|
|
@ -872,7 +872,7 @@ END;
|
|||
$sResult = '';
|
||||
if (0 < \strlen($sEmail))
|
||||
{
|
||||
$iPos = \strpos($sEmail, '@');
|
||||
$iPos = \strrpos($sEmail, '@');
|
||||
$sResult = (false === $iPos) ? $sEmail : \substr($sEmail, 0, $iPos);
|
||||
}
|
||||
|
||||
|
|
@ -889,7 +889,7 @@ END;
|
|||
$sResult = '';
|
||||
if (0 < \strlen($sEmail))
|
||||
{
|
||||
$iPos = \strpos($sEmail, '@');
|
||||
$iPos = \strrpos($sEmail, '@');
|
||||
if (false !== $iPos && 0 < $iPos)
|
||||
{
|
||||
$sResult = \substr($sEmail, $iPos + 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue