summaryrefslogtreecommitdiff
path: root/roundcubemail/index.php
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-09-10 15:49:14 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-09-10 15:49:14 +0000
commitf98a7b183160aaf0a21f9f5b029db49fab1275d9 (patch)
treeefc8b264bc34a5c3c736d9d64dadf17a4f25695f /roundcubemail/index.php
parentbd3e60d1a0749a9c41eb6b47c9e97079e638f655 (diff)
Fix some recently introduced bugs
git-svn-id: https://svn.roundcube.net/trunk@1760 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/index.php')
-rw-r--r--roundcubemail/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/index.php b/roundcubemail/index.php
index e6201839c..adab4118c 100644
--- a/roundcubemail/index.php
+++ b/roundcubemail/index.php
@@ -133,7 +133,7 @@ if (!empty($RCMAIL->user->ID) && $RCMAIL->task == 'mail') {
// check client X-header to verify request origin
if ($OUTPUT->ajax_call) {
- if ($RCMAIL->config->get('devel_mode') && !rc_request_header('X-RoundCube-Referer')) {
+ if (!$RCMAIL->config->get('devel_mode') && !rc_request_header('X-RoundCube-Referer')) {
header('HTTP/1.1 404 Not Found');
die("Invalid Request");
}