summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-09-10 15:49:14 +0000
committerthomascube <thomas@roundcube.net>2008-09-10 15:49:14 +0000
commit835ae8516a6a1097911360d45e21681c2606e253 (patch)
tree80996d6d12281e276efc069e7bd3c4bc93a7a599 /index.php
parent32efb0b6313641b29e24ba8cbad7a297e223a430 (diff)
Fix some recently introduced bugs
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index e6201839c..adab4118c 100644
--- a/index.php
+++ b/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");
}