Mailbox update
This commit is contained in:
@@ -7,7 +7,7 @@ class Emailinbox extends Renderer {
|
||||
|
||||
public function __construct(?string $templateName = null) {
|
||||
parent::__construct();
|
||||
$folder = $filter_input(INPUT_GET, 'folder') ?? 'INBOX';
|
||||
$folder = filter_input(INPUT_GET, 'folder') ?? 'INBOX';
|
||||
if (!$this->connectToImap($folder)) {
|
||||
$this->templateName = 'imaperror';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user