summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-05-02 09:03:52 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-05-02 09:03:52 +0000
commit2d35c678f96d0c2f649d5cd3c502d0457de62cc4 (patch)
tree75ffc301be68442a1dd90923a9f6142e67dad42e
parent73038ecd015b48e2ae64a0a0ce9f89045741ccf1 (diff)
Default action for plugin tasks is 'index'
git-svn-id: https://svn.roundcube.net/trunk@4718 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/roundcubemail/index.php b/roundcubemail/index.php
index 9ba19c795..888895899 100644
--- a/roundcubemail/index.php
+++ b/roundcubemail/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;
}