Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/lib/Roundcube/rcube.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube.php b/program/lib/Roundcube/rcube.php
index dfdffc9af..31fba2eeb 100644
--- a/program/lib/Roundcube/rcube.php
+++ b/program/lib/Roundcube/rcube.php
@@ -996,7 +996,9 @@ class rcube
$_SESSION['secure_token'] = $plugin['value'];
}
- return $_SESSION['secure_token'];
+ if (!empty($_SESSION['secure_token'])) {
+ return $_SESSION['secure_token'];
+ }
}
return false;