From 3f0da0a04f6f11009b72ba5eb8fe65eb592238a2 Mon Sep 17 00:00:00 2001 From: ikkez Date: Wed, 25 Apr 2018 13:22:42 +0200 Subject: [PATCH] php7 frontend fixes --- app/ui/templates/post_list.html | 2 +- ui/templates/post_single.html | 2 +- vendor/ikkez/f3-cortex | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/ui/templates/post_list.html b/app/ui/templates/post_list.html index 4b71998..cb9c28e 100644 --- a/app/ui/templates/post_list.html +++ b/app/ui/templates/post_list.html @@ -64,7 +64,7 @@

{{'{0,date}', strtotime(@lastDate) | format }}

hidden - {{count(@item.comments)}} + {{count(@item.comments?:[])}} \ No newline at end of file diff --git a/ui/templates/post_single.html b/ui/templates/post_single.html index b569c0a..4153200 100644 --- a/ui/templates/post_single.html +++ b/ui/templates/post_single.html @@ -32,7 +32,7 @@

{{@post.title | esc}}