Skip to content

Commit

Permalink
Update modules/mod_syndicate/tmpl/default.php
Browse files Browse the repository at this point in the history
Co-authored-by: Quy <quy@fluxbb.org>
  • Loading branch information
brianteeman and Quy committed Jul 25, 2020
1 parent fce04b8 commit 6438a9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/mod_syndicate/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
?>
<a href="<?php echo $link; ?>" class="mod-syndicate syndicate-module">
<?php echo HTMLHelper::_('image', 'system/livemarks.png', '', null, true); ?>
<?php $class = $params->get('display_text', 1) ? '' : 'sr-only'; ?>
<span class="<?php echo $class; ?>">
<?php $class = $params->get('display_text', 1) ? '' : 'class="sr-only"'; ?>
<span <?php echo $class; ?>>
<?php if (str_replace(' ', '', $text) !== '') : ?>
<?php echo $text; ?>
<?php else : ?>
Expand Down

0 comments on commit 6438a9a

Please sign in to comment.