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:
authorAleksander Machniak <alec@alec.pl>2022-07-14 08:48:39 +0300
committerAleksander Machniak <alec@alec.pl>2022-07-14 08:49:18 +0300
commite2461ac2d7aa1960ad4b902f84e14ae1f7d64bfa (patch)
tree0a12fd7ad96dcc726f82cc03de36d473684bb9dd
parent4945abf28b312fc7a0889de2f94719629f78b475 (diff)
Fix PHP8 warning
-rw-r--r--installer/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/index.php b/installer/index.php
index e40377b67..a6d13e5a6 100644
--- a/installer/index.php
+++ b/installer/index.php
@@ -71,7 +71,7 @@ if (isset($_GET['_getconfig'])) {
if (
$RCI->configured
- && ($RCI->getprop('enable_installer') || $_SESSION['allowinstaller']) &&
+ && ($RCI->getprop('enable_installer') || !empty($_SESSION['allowinstaller'])) &&
!empty($_GET['_mergeconfig'])
) {
$filename = 'config.inc.php';