aboutsummaryrefslogtreecommitdiffstats
path: root/include/import.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-20 23:04:07 -0700
committerredmatrix <git@macgirvin.com>2016-07-20 23:04:07 -0700
commitda707736a075e8f050458316edfcf0177aef0bfc (patch)
tree6f4adc41a64c8b112b780a1392e942e07226675b /include/import.php
parent0c3543ac43d552dbaee597df41c8b7ea2d650e04 (diff)
downloadvolse-hubzilla-da707736a075e8f050458316edfcf0177aef0bfc.tar.gz
volse-hubzilla-da707736a075e8f050458316edfcf0177aef0bfc.tar.bz2
volse-hubzilla-da707736a075e8f050458316edfcf0177aef0bfc.zip
issue #453 and a bug noted from the logfiles related to the schema change last month
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 e4f5ba5a7..42c902a0a 100644
--- a/include/import.php
+++ b/include/import.php
@@ -1033,7 +1033,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'];