diff options
author | Mario <mario@mariovavti.com> | 2021-04-20 08:42:58 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-04-20 10:52:18 +0200 |
commit | 3f0e687558a2b33756c35074430e39089b994574 (patch) | |
tree | 893239f20ea9068f47ee77f5e152964c4f735e22 | |
parent | d7f04ff6eee4275569939255fdadfe6448c478da (diff) | |
download | volse-hubzilla-3f0e687558a2b33756c35074430e39089b994574.tar.gz volse-hubzilla-3f0e687558a2b33756c35074430e39089b994574.tar.bz2 volse-hubzilla-3f0e687558a2b33756c35074430e39089b994574.zip |
if we use dbescbin on save we should use dbunescbin when retrieving (at least that is true for postgres)
(cherry picked from commit 31abcac4b4dc9e21588deb84b93bc41d761ed630)
-rw-r--r-- | include/channel.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/channel.php b/include/channel.php index ecb7c24f7..9347ba73b 100644 --- a/include/channel.php +++ b/include/channel.php @@ -922,7 +922,7 @@ function identity_basic_export($channel_id, $sections = null, $zap_compat = fals $ret['photo'] = [ 'type' => $r[0]['mimetype'], 'data' => (($r[0]['os_storage']) - ? base64url_encode(file_get_contents($r[0]['content'])) : base64url_encode(dbunescbin($r[0]['content']))) + ? base64url_encode(file_get_contents(dbunescbin($r[0]['content']))) : base64url_encode(dbunescbin($r[0]['content']))) ]; } } |