Fix microblog

This commit is contained in:
Alma Armas 2021-01-27 17:40:37 +00:00
parent 16f1b22ecb
commit 1e5f3f395b
3 changed files with 206 additions and 206 deletions

View file

@ -1,7 +1,7 @@
{ifset $thisUser}
{if $thisUser->hasMicroblogEnabled()}
{var microblogEnabled = isset($thisUser) ? $thisUser->hasMicroblogEnabled() : false}
{if $microblogEnabled}
{include "post/microblogpost.xml", post => $post}
{else}
{else}
{include "post/oldpost.xml", post => $post}
{/if}
{/ifset}
{/if}