From 87e58c7a92b4581fabe43d9f5bac7a68acc8d343 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Mon, 02 May 2011 05:03:52 -0400
Subject: [PATCH] Default action for plugin tasks is 'index'
---
index.php | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/index.php b/index.php
index 9ba19c7..8888958 100644
--- a/index.php
+++ b/index.php
@@ -221,6 +221,7 @@
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;
}
--
Gitblit v1.9.1