Bugfix: demo plugin broken due to v2.9.6 changes

This commit is contained in:
djmaze 2021-12-15 13:06:30 +01:00
parent 0905787f5f
commit 41a98d68c5
4 changed files with 32 additions and 14 deletions

View file

@ -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
);
}

View file

@ -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;
}