diff options
-rw-r--r-- | program/lib/Roundcube/rcube.php | 4 |
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; |