Hello everyone,
I find it quite annoying to see the motd-plugin (aka plugin.summary) redirect to itself even after one does no longer want to see the motd. This leads to an error "mailbox empty" while no mailbox is selected after loggin into RC.
I added the following diff to summary.php to redirect to INBOX when the user has set nosummary:
62a63,66
> else {
> header('Location: ./?_task=mail&_mbox=INBOX');
> die;
> }
89a94,95
> header('Location: ./?_task=mail&_mbox=INBOX');
> die;
Regards
Ruediger
Regards,
Rosali
__________________
MyRoundcube Project http://myroundcube.googlecode.com
MyRoundcube Online Demo - Free Email Address http://mail4us.net
MyRoundcube Plugins Generic Installation Guide http://mail4us.net/myroundcube/index.php
Mailing List http://mail4us.net/?_action=plugin.nabble
Hi Robert,
thank you for the quick update and for the more elegant way to set the appropriate variables. I quickly chose the header()-way as it was done in function login_after(), but using $rcmail->output->redirect() is far more elegant. Great!
Regards
Ruediger
There are currently 1 users browsing this thread. (0 members and 1 guests)