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:
@@ -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'",
|
||||
|
||||
Reference in New Issue
Block a user