aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index 13c4b7237..bc75c683e 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -999,9 +999,9 @@ function import_xchan($arr,$ud_flags = UPDATE_FLAGS_UPDATED) {
}
if(($changed) || ($ud_flags == UPDATE_FLAGS_FORCED)) {
- $guid = random_string() . '@' . get_app()->get_hostname();
if($addresses) {
foreach($addresses as $address) {
+ $guid = random_string() . '@' . get_app()->get_hostname();
update_modtime($xchan_hash,$guid,$address,$ud_flags);
}
}