diff options
author | Mario <mario@mariovavti.com> | 2018-03-08 10:50:03 +0100 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2018-03-08 10:50:03 +0100 |
commit | 8705882e6eb51f901e59a2b03ecfc8dc1588baa1 (patch) | |
tree | 81ea93c9481f1ea7392e3a7de5fc9f5baf43f450 /Zotlabs/Module | |
parent | 16f9e7bd403c5122c15f864685a0f0c58d5219c2 (diff) | |
download | volse-hubzilla-8705882e6eb51f901e59a2b03ecfc8dc1588baa1.tar.gz volse-hubzilla-8705882e6eb51f901e59a2b03ecfc8dc1588baa1.tar.bz2 volse-hubzilla-8705882e6eb51f901e59a2b03ecfc8dc1588baa1.zip |
use dbunescbin() for cover photos
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Cover_photo.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Cover_photo.php b/Zotlabs/Module/Cover_photo.php index 2da99b447..56e35f912 100644 --- a/Zotlabs/Module/Cover_photo.php +++ b/Zotlabs/Module/Cover_photo.php @@ -207,7 +207,7 @@ class Cover_photo extends \Zotlabs\Web\Controller { } } - $imagedata = (($os_storage) ? @file_get_contents($imagedata) : $imagedata); + $imagedata = (($os_storage) ? @file_get_contents(dbunescbin($imagedata)) : dbunescbin($imagedata)); $ph = photo_factory($imagedata, $filetype); if(! $ph->is_valid()) { |