mirror of
https://github.com/friendica/friendica
synced 2025-04-27 14:30:11 +00:00
xrd cannot be called before db is open to get language
This commit is contained in:
parent
b8a9581acb
commit
941b2331f1
3 changed files with 24 additions and 30 deletions
|
@ -718,7 +718,7 @@ function consume_feed($xml,$importer,$contact, &$hub) {
|
|||
);
|
||||
// who is the last child now?
|
||||
$r = q("SELECT `id` FROM `item` WHERE `parent-uri` = '%s' AND `type` != 'activity' AND `deleted` = 0 AND `uid` = %d
|
||||
ORDER BY `edited` DESC LIMIT 1",
|
||||
ORDER BY `created` DESC LIMIT 1",
|
||||
dbesc($item['parent-uri']),
|
||||
intval($importer['uid'])
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue