Skip to content

Commit 730eaad

Browse files
committed
Merge remote-tracking branch 'origin/dev' into dev
2 parents 59290cb + 3fa9ab1 commit 730eaad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/views/debug/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@
472472
<td><?= __("Tag"); ?></td>
473473
<td>
474474
<?php if ($commitHash != "") { ?>
475-
<a target="_blank" href="https://github.com/wavelog/wavelog/releases/tag/<?php echo substr($tag, 0, strpos($tag, '-')); ?>"><span class="badge text-bg-success"><?php echo $tag; ?></span></a>
475+
<a target="_blank" href="https://github.com/wavelog/wavelog/releases/tag/<?php echo strpos($tag, '-') ? substr($tag, 0, strpos($tag, '-')) : $tag; ?>"><span class="badge text-bg-success"><?php echo $tag; ?></span></a>
476476
<?php } else { ?>
477477
<span class="badge text-bg-danger"><?= __("n/a"); ?></span>
478478
<?php } ?>

0 commit comments

Comments
 (0)