use parent_mid
This commit is contained in:
parent
1f075d92bc
commit
b8c77bbcfc
@ -1021,13 +1021,13 @@ function consume_feed($xml, $importer, &$contact, $pass = 0) {
|
||||
}
|
||||
}
|
||||
else {
|
||||
$x = q("select mid from item where mid = '%s' and uid = %d limit 1",
|
||||
$x = q("select parent_mid from item where mid = '%s' and uid = %d limit 1",
|
||||
dbesc($parent_mid),
|
||||
intval($importer['channel_id'])
|
||||
);
|
||||
|
||||
if($x) {
|
||||
$pmid = $x[0]['mid'];
|
||||
$pmid = $x[0]['parent_mid'];
|
||||
$datarray['parent_mid'] = $pmid;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user