Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Item14055: Run perltidy
  • Loading branch information
gac410 committed Apr 24, 2016
1 parent c54a23d commit 36caf1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/lib/Foswiki/Meta.pm
Expand Up @@ -2946,9 +2946,9 @@ sub attach {
seek( $opts{stream}, 0, 0 ); # seek to beginning
binmode( $opts{stream} );

# recalculate filesize as beforeUploadHandler may have modified the content
if (defined $opts{filesize}) {
$opts{filesize} = (stat($attrs->{stream}))[7];
# recalculate filesize as beforeUploadHandler may have modified the content
if ( defined $opts{filesize} ) {
$opts{filesize} = ( stat( $attrs->{stream} ) )[7];
}

$handlers_called = 1;
Expand Down

0 comments on commit 36caf1a

Please sign in to comment.