aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Profile_photo.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-01-20 08:12:14 +0000
committerMario <mario@mariovavti.com>2022-01-20 08:14:03 +0000
commit42e30d083521421e641afb570931ff05f8b6523b (patch)
tree3501b7db85e8ec9f8aec6fc09cd22a641c3058f8 /Zotlabs/Module/Profile_photo.php
parent23e59b5dccefac89b9e58d49f4498ac4e1034d7a (diff)
downloadvolse-hubzilla-42e30d083521421e641afb570931ff05f8b6523b.tar.gz
volse-hubzilla-42e30d083521421e641afb570931ff05f8b6523b.tar.bz2
volse-hubzilla-42e30d083521421e641afb570931ff05f8b6523b.zip
fix pgsql profile photo issue
Diffstat (limited to 'Zotlabs/Module/Profile_photo.php')
-rw-r--r--Zotlabs/Module/Profile_photo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Profile_photo.php b/Zotlabs/Module/Profile_photo.php
index 661694d18..022efc2cd 100644
--- a/Zotlabs/Module/Profile_photo.php
+++ b/Zotlabs/Module/Profile_photo.php
@@ -495,7 +495,7 @@ class Profile_photo extends Controller {
}
if (intval($r[0]['os_storage'])) {
- $data = @file_get_contents($r[0]['content']);
+ $data = @file_get_contents(dbunescbin($r[0]['content']));
}
else {
$data = dbunescbin($r[0]['content']);