diff options
author | thomascube <thomas@roundcube.net> | 2008-09-10 15:49:14 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2008-09-10 15:49:14 +0000 |
commit | 835ae8516a6a1097911360d45e21681c2606e253 (patch) | |
tree | 80996d6d12281e276efc069e7bd3c4bc93a7a599 /index.php | |
parent | 32efb0b6313641b29e24ba8cbad7a297e223a430 (diff) |
Fix some recently introduced bugs
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); } |