summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-05-02 09:03:52 +0000
committerthomascube <thomas@roundcube.net>2011-05-02 09:03:52 +0000
commit87e58c7a92b4581fabe43d9f5bac7a68acc8d343 (patch)
tree8b1f4d12fe761a401ce4362f25c3307760ac52fb
parent2d889ecd38b925fd6447431b15c37e54e9974df0 (diff)
Default action for plugin tasks is 'index'
-rw-r--r--index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.php b/index.php
index 9ba19c795..888895899 100644
--- a/index.php
+++ b/index.php
@@ -221,6 +221,7 @@ $redirects = 0; $incstep = null;
while ($redirects < 5) {
// execute a plugin action
if ($RCMAIL->plugins->is_plugin_task($RCMAIL->task)) {
+ if (!$RCMAIL->action) $RCMAIL->action = 'index';
$RCMAIL->plugins->exec_action($RCMAIL->task.'.'.$RCMAIL->action);
break;
}