Skip to content

Commit

Permalink
Fixed an issue causing empty blocks to appear
Browse files Browse the repository at this point in the history
  • Loading branch information
trp89 committed Sep 9, 2024
1 parent b58f7ca commit f093357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/blockAuthors.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* @uses $boolAuthorInfo bool to check whether at least one author has additional info
*}

{if $publication->getData('authors')}
{if count($publication->getData('authors'))}
<div class="pkp_block block_inline_html_authors">
<span class="title">
{translate key="submission.authors"}
Expand Down

1 comment on commit f093357

@trp89
Copy link
Author

@trp89 trp89 commented on f093357 Sep 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version for issue #10

Please sign in to comment.