Skip to content

Commit c539f86

Browse files
mBeymmjansenDatabay
authored andcommitted
Fix incorrect constant used
1 parent cc4b975 commit c539f86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/ILIAS/Mail/classes/class.ilMailFolderGUI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ protected function showFolder(): void
490490
$message_box = null;
491491
if ($this->folder->isInbox()) {
492492
$mail_options = new ilMailOptions($this->user->getId());
493-
if ($mail_options->getIncomingType() === ilMailOptions::INCOMING_LOCAL) {
493+
if ($mail_options->getIncomingType() === ilMailOptions::INCOMING_EMAIL) {
494494
$message_box = $this->ui_factory->messageBox()->info($this->lng->txt('incoming_local_no_new_mails_inbox'));
495495
$components = [$message_box, ...$components];
496496
}

0 commit comments

Comments
 (0)