diff options
author | Mario <mario@mariovavti.com> | 2021-04-20 08:42:58 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-04-20 08:42:58 +0000 |
commit | 31abcac4b4dc9e21588deb84b93bc41d761ed630 (patch) | |
tree | 4d6f2637a169ae45644c450f068f7b92e9b12a05 | |
parent | eaf9003ca27c52c571f940e49fcfba6e1c8fe629 (diff) | |
download | volse-hubzilla-31abcac4b4dc9e21588deb84b93bc41d761ed630.tar.gz volse-hubzilla-31abcac4b4dc9e21588deb84b93bc41d761ed630.tar.bz2 volse-hubzilla-31abcac4b4dc9e21588deb84b93bc41d761ed630.zip |
if we use dbescbin on save we should use dbunescbin when retrieving (at least that is true for postgres)
-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']))) ]; } } |