aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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]);