fixed: Gallery: Description Text appearing in Album
This commit is contained in:
parent
052d9d67eb
commit
60bb354a78
2 changed files with 9 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
7.5.17
|
||||
- fixed: Payment Methods Hover Help Incomplete
|
||||
- fixed: Payment Method Titles Don't Match Buttons
|
||||
- fixed: Gallery: Description Text appearing in Album
|
||||
|
||||
7.5.16
|
||||
- Created a migration from 7.4.40 directly to 7.5.16.
|
||||
|
|
|
|||
|
|
@ -492,7 +492,14 @@ sub getTemplateVars {
|
|||
my $gallery = $self->getParent;
|
||||
my $var = $self->get;
|
||||
my $owner = WebGUI::User->new( $session, $self->get("ownerUserId") );
|
||||
|
||||
|
||||
# Fix 'undef' vars since HTML::Template does inheritence on them
|
||||
for my $key ( qw( description ) ) {
|
||||
unless ( defined $var->{$key} ) {
|
||||
$var->{ $key } = '';
|
||||
}
|
||||
}
|
||||
|
||||
# Permissions
|
||||
$var->{ canAddFile } = $self->canAddFile;
|
||||
$var->{ canEdit } = $self->canEdit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue