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:12:14 +0000
commit5b19418e48892315733e99455771dd05d1d1c87e (patch)
treeb354924091897dc7484a6e6a0f8b2c4d060b16d6 /Zotlabs/Module/Profile_photo.php
parent1bc9a7373f251533f04a80fbc1aba8d06a3d4167 (diff)
downloadvolse-hubzilla-5b19418e48892315733e99455771dd05d1d1c87e.tar.gz
volse-hubzilla-5b19418e48892315733e99455771dd05d1d1c87e.tar.bz2
volse-hubzilla-5b19418e48892315733e99455771dd05d1d1c87e.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']);