From cad9dac18981b2ec034fa6dfbb6e6da36ab5c542 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 9 Jul 2018 12:17:59 +0200 Subject: [PATCH] Fix an issue with smarty filters and priority Signed-off-by: Thomas Citharel --- tpl/part/vote_table_date.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tpl/part/vote_table_date.tpl b/tpl/part/vote_table_date.tpl index b3f06d8..1584ef0 100644 --- a/tpl/part/vote_table_date.tpl +++ b/tpl/part/vote_table_date.tpl @@ -55,7 +55,7 @@ {$count_same = 0} {/if} - {$count_same = $count_same + $slot->moments|count} + {$count_same = $count_same + ($slot->moments|count)} {if $slot@last} {$display}