much better fix to problem yesterday of updates with the wrong ud_addr getting updated. Now we'll

pass in the update table row to import_xchan so we know exactly which ud_addr applies. We still need ud_flags passed in separately.
This commit is contained in:
friendica
2014-06-30 21:17:19 -07:00
parent 4fbe63aaeb
commit b2abc51929
2 changed files with 17 additions and 24 deletions

View File

@@ -157,7 +157,7 @@ function update_directory_entry($ud) {
$j = json_decode($x['body'],true);
if($j)
$success = true;
$y = import_xchan($j,0);
$y = import_xchan($j,0,$ud);
}
if(! $success) {
$r = q("update updates set ud_last = '%s' where ud_addr = '%s'",