diff --git a/access.php b/access.php index bd8e3189f..ea17d0376 100644 --- a/access.php +++ b/access.php @@ -23,7 +23,7 @@ */ require_once 'includes/init.php'; -$allow_view_other = ( $ALLOW_VIEW_OTHER === 'Y' ); +$allow_view_other = ( ( $ALLOW_VIEW_OTHER ??= 'Y' ) === 'Y' ); if( ! access_is_enabled() ) { echo print_not_auth();