summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-10-30 11:34:31 +0000
committerthomascube <thomas@roundcube.net>2011-10-30 11:34:31 +0000
commitabdf31486a946d63623c3047d08e7730926c4d86 (patch)
tree28727469589c57b0b624726d31fcddaba8f89011 /program
parent187ff4e59719cf7b695ce9190ed3967885f557bb (diff)
Allow cross-task ajax requests
Diffstat (limited to 'program')
-rw-r--r--program/include/rcmail.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php
index a4a783c80..1ecdfcde0 100644
--- a/program/include/rcmail.php
+++ b/program/include/rcmail.php
@@ -1268,7 +1268,7 @@ class rcmail
{
$sess_id = $_COOKIE[ini_get('session.name')];
if (!$sess_id) $sess_id = session_id();
- $plugin = $this->plugins->exec_hook('request_token', array('value' => md5('RT' . $this->task . $this->config->get('des_key') . $sess_id)));
+ $plugin = $this->plugins->exec_hook('request_token', array('value' => md5('RT' . $this->user->ID . $this->config->get('des_key') . $sess_id)));
return $plugin['value'];
}