From 26a00e76bed78b67443d22faf5664967ce96cbf7 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak <alec@alec.pl> Date: Tue, 16 Jun 2015 05:39:55 -0400 Subject: [PATCH] Fix race-condition in saving user preferences and loading plugin config (#1490431) --- index.php | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index 8598ff3..5cfd8df 100644 --- a/index.php +++ b/index.php @@ -1,8 +1,8 @@ <?php -/* +/** +-------------------------------------------------------------------------+ | Roundcube Webmail IMAP Client | - | Version 1.1.0 | + | Version 1.2-git | | | | Copyright (C) 2005-2015, The Roundcube Dev Team | | | @@ -62,12 +62,12 @@ rcmail::raise_error(array( 'code' => 603, 'type' => 'db', - 'message' => $err_str), FALSE, TRUE); + 'message' => $err_str), false, true); } // error steps if ($RCMAIL->action == 'error' && !empty($_GET['_code'])) { - rcmail::raise_error(array('code' => hexdec($_GET['_code'])), FALSE, TRUE); + rcmail::raise_error(array('code' => hexdec($_GET['_code'])), false, true); } // check if https is required (for login) and redirect if necessary -- Gitblit v1.9.1