From 8a43bead742f94e801976531d0225edbd57389e0 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 13 Apr 2018 13:20:20 +0200 Subject: fix illegal string offset warning --- view/tpl/conv_item.tpl | 2 +- view/tpl/conv_list.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'view') diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index cfafa5ffd..a1d287f26 100755 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -185,7 +185,7 @@ {{if $item.responses || $item.attachments}}
- {{if $item.star.isstarred}} + {{if $item.star && $item.star.isstarred}}
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 @@
- {{if $item.star.isstarred}} + {{if $item.star && $item.star.isstarred}}
-- cgit v1.2.3