Skip to content

Commit

Permalink
php7 frontend fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ikkez committed Apr 25, 2018
1 parent c3d5088 commit 3f0da0a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/ui/templates/post_list.html
Expand Up @@ -64,7 +64,7 @@ <h4>{{'{0,date}', strtotime(@lastDate) | format }}</h4>
<i class="glyphicon glyphicon-eye-close"></i> hidden</span>
</false>
</check>
<span><i class="glyphicon glyphicon-comment"></i> {{count(@item.comments)}}</span>
<span><i class="glyphicon glyphicon-comment"></i> {{count(@item.comments?:[])}}</span>
</div>
</div>
</F3:repeat>
2 changes: 1 addition & 1 deletion ui/templates/post_single.html
Expand Up @@ -32,7 +32,7 @@ <h1>{{@post.title | esc}}</h1>
<F3:check if="{{ (isset(@post.enable_comments) && @post.enable_comments == 1) || !isset(@post.enable_comments) }}">
<aside>
<section id="comment-list">
<h3>Comments ({{ count(@post.comments) }})</h3>
<h3>Comments ({{ count(@post.comments?:[]) }})</h3>
<check if="{{ @post.comments }}">
<true>
<repeat group="{{ @post.comments }}" value="{{ @comment }}">
Expand Down
2 changes: 1 addition & 1 deletion vendor/ikkez/f3-cortex
Submodule f3-cortex updated from 05ccec to c5a481

0 comments on commit 3f0da0a

Please sign in to comment.