diff --git a/sections/collages/new.php b/sections/collages/new.php index 9ecb5ab87..8e63297e4 100644 --- a/sections/collages/new.php +++ b/sections/collages/new.php @@ -6,7 +6,7 @@ $ChangeJS = " onchange=\"if ( this.options[this.selectedIndex].value == '0') { $('#namebox').ghide(); $('#personal').gshow(); } else { $('#namebox').gshow(); $('#personal').ghide(); }\""; } -$NoName = !$Viewer->permitted('site_collages_renamepersonal') && $Category === '0'; +$NoName = !$Viewer->permitted('site_collages_renamepersonal') && ($Category ?? 0) === 0; $personalAllowed = $Viewer->canCreatePersonalCollage(); ?>