From 8345ac7313ecb7248eecc8cd4484acd40f9f4a3e Mon Sep 17 00:00:00 2001 From: Beanow Date: Sun, 7 Sep 2014 11:47:08 +0200 Subject: [PATCH] Fix illegal offset error for vier and quattro. Fixes #1105 --- view/theme/quattro/templates/search_item.tpl | 2 +- view/theme/quattro/templates/wall_thread.tpl | 2 +- view/theme/vier/templates/search_item.tpl | 2 +- view/theme/vier/templates/wall_thread.tpl | 2 -- 4 files changed, 3 insertions(+), 5 deletions(-) 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}}
- -