From 6c6c45e60424eb50d3620872efcd83fdb7e62f3a Mon Sep 17 00:00:00 2001 From: itismadness Date: Sat, 11 Dec 2021 00:43:21 +0000 Subject: [PATCH] Fix showing collage name input on personal collage to non E+ --- sections/collages/new.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); ?>