saveFiles is an array not bool

This commit is contained in:
mattpass
2020-07-18 19:08:54 +01:00
parent 1a6c51b7ac
commit e8927f947a

View File

@@ -8,7 +8,7 @@ $text = $_SESSION['text'];
$t = $text['settings-save-current-files'];
// Save the currently opened files for next time
if (true === $_SESSION['loggedIn'] && true === isset($_GET["saveFiles"]) && true === $_GET['saveFiles']) {
if (true === $_SESSION['loggedIn'] && true === isset($_GET["saveFiles"])) {
if (!$demoMode) {
$saveFilesArray = [];
if ("CLEAR" !== $_GET['saveFiles']) {