Fix condition formatting in view/theme/frio/theme.php

This commit is contained in:
Hypolite Petovan 2021-02-28 07:44:36 -05:00 committed by GitHub
parent 2bbfbd57b0
commit 2f590b2e07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -314,8 +314,9 @@ function frio_display_item(App $a, &$arr)
local_user() local_user()
&& local_user() == $arr['item']['uid'] && local_user() == $arr['item']['uid']
&& $arr['item']['gravity'] == GRAVITY_PARENT && $arr['item']['gravity'] == GRAVITY_PARENT
&& !$arr['item']['self'] && !$arr['item']['mention']) && !$arr['item']['self']
{ && !$arr['item']['mention']
) {
$followThread = [ $followThread = [
'menu' => 'follow_thread', 'menu' => 'follow_thread',
'title' => DI::l10n()->t('Follow Thread'), 'title' => DI::l10n()->t('Follow Thread'),