kopia lustrzana https://github.com/nextcloud/social
sizeof instead
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>pull/1637/head
rodzic
fae487e942
commit
0850295666
|
@ -606,7 +606,7 @@ class Stream extends ACore implements IQueryRow, JsonSerializable {
|
|||
|
||||
$status = null;
|
||||
if ($statusPost = $this->getDetails('post')) {
|
||||
if (!empty($statusPost)) {
|
||||
if (sizeof($statusPost) > 0) {
|
||||
$status = new Stream();
|
||||
$status->importFromCache($statusPost);
|
||||
$status->setExportFormat(self::FORMAT_LOCAL);
|
||||
|
|
Ładowanie…
Reference in New Issue