mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix possible issue with tag display in bulk editor.
This commit is contained in:
parent
0b920b5c64
commit
ec03017eca
@ -699,7 +699,7 @@ class GroupCollector implements GroupCollectorInterface
|
||||
$result = $this->convertToInteger($result);
|
||||
|
||||
$result['reconciled'] = 1 === (int)$result['reconciled'];
|
||||
if (array_key_exists('tag_id', $result)) { // assume the other fields are present as well.
|
||||
if (array_key_exists('tag_id', $result) && null !== $result['tag_id']) { // assume the other fields are present as well.
|
||||
$tagId = (int)$augumentedJournal['tag_id'];
|
||||
$tagDate = null;
|
||||
try {
|
||||
|
@ -76,8 +76,8 @@
|
||||
</td>
|
||||
<td>
|
||||
{% for tag in journal.tags %}
|
||||
{% if null != tag.name %}
|
||||
<span style="display: inline;"><a class="label label-success" href="{{ route('tags.show', [tag.name]) }}">
|
||||
{% if 0 != tag.id %}
|
||||
<span style="display: inline;"><a class="label label-success" href="{{ route('tags.show', [tag.id]) }}">
|
||||
<i class="fa fa-fw fa-tag"></i>
|
||||
{{ tag.name }}</a>
|
||||
</span>
|
||||
|
Loading…
Reference in New Issue
Block a user