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 132d1d32d..8c9cf22e9 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 e5a7115e9..d4e9fc1d0 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 a5077533e..598eb4e9e 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 8243a6aa7..764ff0517 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}}
- -