From: Beanow Date: Sun, 7 Sep 2014 09:47:08 +0000 (+0200) Subject: Fix illegal offset error for vier and quattro. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8345ac7313ecb7248eecc8cd4484acd40f9f4a3e;p=friendica.git Fix illegal offset error for vier and quattro. Fixes #1105 --- diff --git a/view/theme/quattro/templates/search_item.tpl b/view/theme/quattro/templates/search_item.tpl index 132d1d32d3..8c9cf22e9f 100644 --- a/view/theme/quattro/templates/search_item.tpl +++ b/view/theme/quattro/templates/search_item.tpl @@ -1,5 +1,5 @@
- {{$item.star.starred}} + {{if $item.star}}{{$item.star.starred}}{{/if}} {{if $item.lock}}{{$item.lock}}{{/if}}
diff --git a/view/theme/quattro/templates/wall_thread.tpl b/view/theme/quattro/templates/wall_thread.tpl index e5a7115e91..d4e9fc1d08 100644 --- a/view/theme/quattro/templates/wall_thread.tpl +++ b/view/theme/quattro/templates/wall_thread.tpl @@ -22,7 +22,7 @@ {{if $item.thread_level!=1}}
{{/if}}
- {{$item.star.starred}} + {{if $item.star}}{{$item.star.starred}}{{/if}} {{if $item.lock}}{{$item.lock}}{{/if}}
diff --git a/view/theme/vier/templates/search_item.tpl b/view/theme/vier/templates/search_item.tpl index a5077533ed..598eb4e9ee 100644 --- a/view/theme/vier/templates/search_item.tpl +++ b/view/theme/vier/templates/search_item.tpl @@ -1,7 +1,7 @@
- {{$item.star.starred}} + {{if $item.star}}{{$item.star.starred}}{{/if}} {{if $item.lock}}{{$item.lock}}{{/if}}
diff --git a/view/theme/vier/templates/wall_thread.tpl b/view/theme/vier/templates/wall_thread.tpl index 8243a6aa7b..764ff05170 100644 --- a/view/theme/vier/templates/wall_thread.tpl +++ b/view/theme/vier/templates/wall_thread.tpl @@ -23,8 +23,6 @@ {{if $item.thread_level!=1}}
{{/if}}
- -