aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-14 21:19:23 -0700
committerfriendica <info@friendica.com>2013-10-14 21:19:23 -0700
commit6dbaaef7b7e4d1b23541a92f71e4a738f99c36d8 (patch)
tree59294cfa1a46a580a5abe1f570eb7f1c43318a74
parenta13ab4ee9b4266b7671f010780b41521624a1afc (diff)
downloadvolse-hubzilla-6dbaaef7b7e4d1b23541a92f71e4a738f99c36d8.tar.gz
volse-hubzilla-6dbaaef7b7e4d1b23541a92f71e4a738f99c36d8.tar.bz2
volse-hubzilla-6dbaaef7b7e4d1b23541a92f71e4a738f99c36d8.zip
don't update old entries with no address
-rw-r--r--include/onedirsync.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/onedirsync.php b/include/onedirsync.php
index b9c17628a..5f971629f 100644
--- a/include/onedirsync.php
+++ b/include/onedirsync.php
@@ -28,7 +28,7 @@ function onedirsync_run($argv, $argc){
if(! $r)
return;
- if($r['ud_flags'] & UPDATE_FLAGS_UPDATED)
+ if(($r[0]['ud_flags'] & UPDATE_FLAGS_UPDATED) || (! $r[0]['ud_addr']))
return;
update_directory_entry($r[0]);