mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-08 22:18:28 +03:00
Bugfix: kolab plugin error on ?admin
This commit is contained in:
parent
b9101d9b1c
commit
ea5224c7e3
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ class KolabPlugin extends \RainLoop\Plugins\AbstractPlugin
|
|||
public function FilterAppData($bAdmin, &$aResult) : void
|
||||
{
|
||||
// if ImapClient->IsSupported('METADATA')
|
||||
if (\is_array($aResult) && !empty($aResult['Auth'])) {
|
||||
if (!$bAdmin && \is_array($aResult) && !empty($aResult['Auth'])) {
|
||||
$aResult['Capa']['Kolab'] = true;
|
||||
$aResult['KolabContactFolder'] = (string) $this->Settings()->GetConf('KolabContactFolder', '');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue