aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-20 23:04:07 -0700
committerredmatrix <git@macgirvin.com>2016-07-20 23:05:31 -0700
commit824dedbe9d349c5b6d92d1d950267299bc134cc3 (patch)
tree0756aff488584c4e4f08915fb98ef3c4ce1852f4 /include
parent8f57bb95fe78f70c40f45ad3c7df92ab1e8cb305 (diff)
downloadvolse-hubzilla-824dedbe9d349c5b6d92d1d950267299bc134cc3.tar.gz
volse-hubzilla-824dedbe9d349c5b6d92d1d950267299bc134cc3.tar.bz2
volse-hubzilla-824dedbe9d349c5b6d92d1d950267299bc134cc3.zip
issue #453 and a bug noted from the logfiles related to the schema change last month
Diffstat (limited to 'include')
-rw-r--r--include/import.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/import.php b/include/import.php
index 00ecef07d..889b50eb1 100644
--- a/include/import.php
+++ b/include/import.php
@@ -1004,7 +1004,7 @@ function sync_files($channel,$files) {
$attach_id = $x[0]['id'];
}
- $newfname = 'store/' . $channel['channel_address'] . '/' . get_attach_binname($att['data']);
+ $newfname = 'store/' . $channel['channel_address'] . '/' . get_attach_binname($att['content']);
unset($att['id']);
$att['aid'] = $channel['channel_account_id'];