From 5b19418e48892315733e99455771dd05d1d1c87e Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 20 Jan 2022 08:12:14 +0000 Subject: fix pgsql profile photo issue --- Zotlabs/Module/Profile_photo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Module/Profile_photo.php') 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']); -- cgit v1.2.3