Skip to content

Commit

Permalink
Fix showing collage name input on personal collage to non E+
Browse files Browse the repository at this point in the history
  • Loading branch information
itismadness committed Dec 11, 2021
1 parent 4050754 commit 6c6c45e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sections/collages/new.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
?>
Expand Down

0 comments on commit 6c6c45e

Please sign in to comment.