Commit 1ab66648 authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Prevent PHP warning in FolderBrowser

Resolves: #96083
Releases: master, 11.5
Change-Id: I76d486d1b817832cbf7c62252fe4a5e3f9f94391

Reviewed-by: Oliver Klee's avatarOliver Klee <>
Reviewed-by: Benni Mack's avatarBenni Mack <>
Reviewed-by: Stefan Bürk's avatarStefan Bürk <>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <>
Tested-by: core-ci's avatarcore-ci <>
Tested-by: Benni Mack's avatarBenni Mack <>
Tested-by: Stefan Bürk's avatarStefan Bürk <>
Tested-by: Oliver Bartsch's avatarOliver Bartsch <>
parent a6f21085
......@@ -69,7 +69,7 @@ class FolderBrowser extends AbstractElementBrowser implements ElementBrowserInte
$data['expandFolder'] = $this->expandFolder;
$store = true;
} else {
$this->expandFolder = $data['expandFolder'];
$this->expandFolder = $data['expandFolder'] ?? null;
$store = false;
return [$data, $store];
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment