From 3727bea29acb79f66c15b155133ef3bb98d93d49 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 29 Sep 2016 16:20:26 -0700 Subject: issue #538 continued --- include/import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/import.php') 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); -- cgit v1.2.3