]> git.mxchange.org Git - friendica.git/commitdiff
change logic in if clause in case of codereview
authorJakobus Schürz <jakobus.schuerz@home.arpa>
Thu, 5 Oct 2023 15:02:33 +0000 (17:02 +0200)
committerJakobus Schürz <jakobus.schuerz@home.arpa>
Fri, 6 Oct 2023 22:09:38 +0000 (00:09 +0200)
view/theme/frio/templates/wall_thread.tpl

index a50e6ffb1f25977ce5ccc882444684cd5e2c51a8..f05a41f032ed85f42a4d5dada9944eacf4dfbadb 100644 (file)
@@ -59,7 +59,7 @@ as the value of $top_child_total (this is done at the end of this file)
 <span class="uriid" style="display: none;">{{$item.uriid}}</span>
 {{/if}}
        <div class="media {{$item.shiny}}">
-       {{if !$item.parentguid==""}}
+       {{if $item.parentguid}}
                <a id="btn-{{$item.id}}" class="time" href="javascript:;" onclick="goToParentItem('{{$item.plink.orig}}', '{{$item.parentguid}}');">{{$item.isanswerto}}</a>
                {{if $item.reshared}}<span class="hidden-xs">&#x2022;</span>{{/if}}
                <br class="visible-xs">