mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:35:30 +00:00
use dbunescbin() for cover photos
This commit is contained in:
parent
2105cfd433
commit
a0a1246efb
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue