mirror of
https://github.com/friendica/friendica
synced 2025-04-29 10:24:23 +02:00
Fixing SQL error when receiving DFRN posts (#5527)
* Some more notices * Fixed nasty to find notice in DFRN and OStatus * And more notices ... * Yeah, some removed notices ... again ... * Fixing bad SQL query
This commit is contained in:
parent
a2cea16954
commit
1eb8f04274
3 changed files with 30 additions and 5 deletions
|
@ -1374,6 +1374,10 @@ class Diaspora
|
|||
$item = Item::selectFirst($fields, $condition);
|
||||
|
||||
if (!DBA::isResult($item)) {
|
||||
if (!isset($contact["url"])) {
|
||||
logger('Missing URL: ' . System::callstack() . ' - ' . json_encode($contact));
|
||||
}
|
||||
|
||||
$result = self::storeByGuid($guid, $contact["url"], $uid);
|
||||
|
||||
if (!$result) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue