correct encoding

This commit is contained in:
zotlabs
2016-10-23 19:04:42 -07:00
parent 5fbba27d17
commit 21b919a76b
2 changed files with 3 additions and 3 deletions

View File

@@ -1912,7 +1912,7 @@ function attach_export_data($channel, $resource_id, $deleted = false) {
);
if($r) {
for($x = 0; $x < count($r); $x ++) {
$r[$x]['content'] = base64_encode($r[$x]['content']);
$r[$x]['content'] = base64_encode(dbunescbin($r[$x]['content']));
}
$ret['photo'] = $r;
}