diff options
author | Aleksander Machniak <alec@alec.pl> | 2022-07-14 08:48:39 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2022-07-14 08:49:18 +0300 |
commit | e2461ac2d7aa1960ad4b902f84e14ae1f7d64bfa (patch) | |
tree | 0a12fd7ad96dcc726f82cc03de36d473684bb9dd | |
parent | 4945abf28b312fc7a0889de2f94719629f78b475 (diff) |
Fix PHP8 warning
-rw-r--r-- | installer/index.php | 2 |
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'; |