mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 17:37:02 +03:00
Bugfix: demo plugin broken due to v2.9.6 changes
This commit is contained in:
parent
0905787f5f
commit
41a98d68c5
4 changed files with 32 additions and 14 deletions
|
|
@ -367,7 +367,7 @@ class Actions
|
|||
if (false !== \strpos($sLine, '{user:uid}')) {
|
||||
$sLine = \str_replace('{user:uid}',
|
||||
Utils::UrlEncode(\base_convert(\sprintf('%u',
|
||||
\crc32(\md5(Utils::GetConnectionToken()))), 10, 32), $bUrlEncode),
|
||||
\crc32(Utils::GetConnectionToken())), 10, 32), $bUrlEncode),
|
||||
$sLine
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@ class FileStorage implements \RainLoop\Providers\Storage\IStorage
|
|||
if ($this->bLocal && !$bForDeleteAction) {
|
||||
$sSubFolder = $mAccount->Email();
|
||||
}
|
||||
} else if (\is_string($mAccount) && empty($sEmail)) {
|
||||
} else if (\is_string($mAccount)) {
|
||||
$sEmail = $mAccount;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue