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