mirror of
https://github.com/friendica/friendica
synced 2025-04-29 14:24:22 +02:00
Fix for several fatal errors
This commit is contained in:
parent
08da1ed038
commit
0fdab4ed10
6 changed files with 12 additions and 13 deletions
|
@ -57,9 +57,9 @@ class ContactBlock
|
|||
|
||||
$contacts_title = L10n::t('No contacts');
|
||||
|
||||
if (!$total) {
|
||||
$micropro = [];
|
||||
} else {
|
||||
$micropro = [];
|
||||
|
||||
if ($total) {
|
||||
// Only show followed for personal accounts, followers for pages
|
||||
if (defaults($profile, 'account-type', User::ACCOUNT_TYPE_PERSON) == User::ACCOUNT_TYPE_PERSON) {
|
||||
$rel = [Contact::FOLLOWER, Contact::FRIEND];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue