aboutsummaryrefslogtreecommitdiffstats
path: root/include/dir_fns.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-06-30 21:17:19 -0700
committerfriendica <info@friendica.com>2014-06-30 21:17:19 -0700
commitb2abc519296570b0dd362cc3a0e1c6f1da3b989f (patch)
tree9e56b17649db325e4ac6dd4e941b0c014c02b373 /include/dir_fns.php
parent4fbe63aaeba63ed416e4990416bfcd5a8f5f3e33 (diff)
downloadvolse-hubzilla-b2abc519296570b0dd362cc3a0e1c6f1da3b989f.tar.gz
volse-hubzilla-b2abc519296570b0dd362cc3a0e1c6f1da3b989f.tar.bz2
volse-hubzilla-b2abc519296570b0dd362cc3a0e1c6f1da3b989f.zip
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.
Diffstat (limited to 'include/dir_fns.php')
-rw-r--r--include/dir_fns.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dir_fns.php b/include/dir_fns.php
index 2f4830d05..1bc97cfec 100644
--- a/include/dir_fns.php
+++ b/include/dir_fns.php
@@ -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'",