Images::getInfoFromURL[Cached]() will both return empty arrays ... #1264

Merged
Quix0r merged 6 commits from fixes/empty-array-get-info-from-url into develop 2022-06-22 19:32:31 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit d39717a2d5 - Show all commits

View File

@ -1050,7 +1050,7 @@ function statusnet_createpost(App $a, $uid, $post, $self, $create_user, $only_ex
$own_url = DI::pConfig()->get($uid, 'statusnet', 'own_url');
if ($content->user->id == $own_url) {
$self = DBA::selectFirst('', ['self' => true, 'uid' => $uid]);
$self = DBA::selectFirst('*', ['self' => true, 'uid' => $uid]);
if (DBA::isResult($self)) {
$contactid = $self["id"];