aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/conv_list.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-04-13 13:20:20 +0200
committerMario Vavti <mario@mariovavti.com>2018-04-13 13:20:20 +0200
commit8a43bead742f94e801976531d0225edbd57389e0 (patch)
tree3c359057f3a11f852f06d1b70234ebe94da3f5d2 /view/tpl/conv_list.tpl
parent2867cd20436c09e7c603b950ed4d43d3445b8d7c (diff)
downloadvolse-hubzilla-8a43bead742f94e801976531d0225edbd57389e0.tar.gz
volse-hubzilla-8a43bead742f94e801976531d0225edbd57389e0.tar.bz2
volse-hubzilla-8a43bead742f94e801976531d0225edbd57389e0.zip
fix illegal string offset warning
Diffstat (limited to 'view/tpl/conv_list.tpl')
-rwxr-xr-xview/tpl/conv_list.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/conv_list.tpl b/view/tpl/conv_list.tpl
index 286bdc54f..c42751057 100755
--- a/view/tpl/conv_list.tpl
+++ b/view/tpl/conv_list.tpl
@@ -177,7 +177,7 @@
</div>
<div id="like-rotator-{{$item.id}}" class="like-rotator"></div>
<div class="wall-item-tools-left btn-group" id="wall-item-tools-left-{{$item.id}}">
- {{if $item.star.isstarred}}
+ {{if $item.star && $item.star.isstarred}}
<div class="btn-group" id="star-button-{{$item.id}}">
<button type="button" class="btn btn-outline-secondary btn-sm wall-item-like" onclick="dostar({{$item.id}});"><i class="fa fa-star"></i></button>
</div>