diff options
author | friendica <info@friendica.com> | 2014-06-30 03:38:12 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-06-30 03:38:12 -0700 |
commit | 71e8643bf63e91a542b965dd82ba526374044d37 (patch) | |
tree | ea15d36a80d2f16e1aaa972c0e148dd76f04739d /include | |
parent | 4e8d10e269caf8efe46e1e6167e71fc6f0cabb81 (diff) | |
download | volse-hubzilla-71e8643bf63e91a542b965dd82ba526374044d37.tar.gz volse-hubzilla-71e8643bf63e91a542b965dd82ba526374044d37.tar.bz2 volse-hubzilla-71e8643bf63e91a542b965dd82ba526374044d37.zip |
ensure we have a unique guid for each address if one is generated.
Diffstat (limited to 'include')
-rw-r--r-- | include/zot.php | 2 |
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); } } |