Skip to content

Commit

Permalink
Item1795: fix use of uninit variable
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@4398 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelDaum authored and MichaelDaum committed Jul 3, 2009
1 parent 4b56b4c commit c784e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/Attach.pm
Expand Up @@ -62,7 +62,7 @@ view, using templates for the header, footer and each row.
sub renderMetaData {
my ( $this, $topicObject, $attrs ) = @_;

my $showAll = $attrs->{all};
my $showAll = $attrs->{all} || '';
my $showAttr = $showAll ? 'h' : '';
my $A = ($showAttr) ? ':A' : '';
my $title = $attrs->{title} || '';
Expand Down

0 comments on commit c784e6a

Please sign in to comment.