]> BookStack Code Mirror - bookstack/blobdiff - app/Util/CspService.php
Fixed OIDC Logout
[bookstack] / app / Util / CspService.php
index f9ab666acb79c6b9726bd6de7bf84b744f40092e..227ec8e0b3db683d0b17d98c3139feac406bc371 100644 (file)
@@ -126,7 +126,7 @@ class CspService
 
     protected function getAllowedIframeHosts(): array
     {
-        $hosts = config('app.iframe_hosts', '');
+        $hosts = config('app.iframe_hosts') ?? '';
 
         return array_filter(explode(' ', $hosts));
     }