X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/c373a1df43c5305be259fb92573a2bc32ee493f2..568cd50d803ff41ea302e3c2affb9e48fad3e4fd:/foto/index.php diff --git a/foto/index.php b/foto/index.php index 4b61f37..89f5d06 100644 --- a/foto/index.php +++ b/foto/index.php @@ -3,7 +3,7 @@ $rootdir = $Page . $Args; if ($User and $User->admin('foto')) { $access = '🔓 Openbaar'; - if (isset($PageAccess)) { + if (!empty($PageAccess)) { $access = "🔒 Bewoners"; if ($PageAccess != $rootdir) { $access .= sprintf(' vanaf %s',