issue #453 and a bug noted from the logfiles related to the schema change last month

This commit is contained in:
redmatrix
2016-07-20 23:04:07 -07:00
parent 0c3543ac43
commit da707736a0
2 changed files with 4 additions and 2 deletions

View File

@@ -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'];