From ea5224c7e39f48fc8cd24da63aa56e4022fdf5de Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Wed, 18 May 2022 22:29:46 +0200 Subject: [PATCH] Bugfix: kolab plugin error on ?admin --- plugins/kolab/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/kolab/index.php b/plugins/kolab/index.php index c6dcdc0e5..8b5c5aef1 100644 --- a/plugins/kolab/index.php +++ b/plugins/kolab/index.php @@ -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', ''); }