diff --git a/include/emailinbox.php b/include/emailinbox.php index 6780d37..cfa165f 100644 --- a/include/emailinbox.php +++ b/include/emailinbox.php @@ -71,10 +71,8 @@ class Emailinbox extends Renderer { $this->connectToImap(); $folders = $this->mbox->getMailboxes("*"); $folderItems = []; - var_dump($this->folder); foreach ($folders as $folder) { - var_dump($folder['shortpath'], $this->folder === $folder['shortpath']); - $item = '
  • folder ? ' style="active-folder"' : '') . '>' . utf8_encode($folder['shortpath']) . '
  • '; + $item = '
  • folder ? ' class="active-folder"' : '') . '>' . utf8_encode($folder['shortpath']) . '
  • '; $folderItems[] = $item; } $this->content['folders'] = implode('', $folderItems);