mirror of
https://github.com/friendica/friendica
synced 2025-04-28 11:04:22 +02:00
New field "publish" for channels
This commit is contained in:
parent
08738e6551
commit
c4b85ef25a
11 changed files with 162 additions and 122 deletions
|
@ -2128,12 +2128,11 @@ class Item
|
|||
}
|
||||
}
|
||||
|
||||
$result = self::compactLanguages($result);
|
||||
if (empty($result)) {
|
||||
return $default;
|
||||
}
|
||||
|
||||
$result = self::compactLanguages($result);
|
||||
|
||||
arsort($result);
|
||||
return array_slice($result, 0, $count);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue