aboutsummaryrefslogtreecommitdiffstats
path: root/include/import.php
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-29 16:20:26 -0700
committerredmatrix <mike@macgirvin.com>2016-09-29 16:20:26 -0700
commit3727bea29acb79f66c15b155133ef3bb98d93d49 (patch)
treed3298c37cf7d286b25d85fe98f45a977fb9be2ec /include/import.php
parentfcd7dc87447eee14277958a3b56080310ab6f352 (diff)
downloadvolse-hubzilla-3727bea29acb79f66c15b155133ef3bb98d93d49.tar.gz
volse-hubzilla-3727bea29acb79f66c15b155133ef3bb98d93d49.tar.bz2
volse-hubzilla-3727bea29acb79f66c15b155133ef3bb98d93d49.zip
issue #538 continued
Diffstat (limited to 'include/import.php')
-rw-r--r--include/import.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/import.php b/include/import.php
index 470ef982e..479e45cc2 100644
--- a/include/import.php
+++ b/include/import.php
@@ -1036,7 +1036,7 @@ function sync_files($channel,$files) {
}
$attach_exists = false;
- $x = attach_by_hash($att['hash']);
+ $x = attach_by_hash($att['hash'],$channel['channel_hash']);
logger('sync_files duplicate check: attach_exists=' . $attach_exists, LOGGER_DEBUG);
logger('sync_files duplicate check: att=' . print_r($att,true), LOGGER_DEBUG);
logger('sync_files duplicate check: attach_by_hash() returned ' . print_r($x,true), LOGGER_DEBUG);