aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Photo/PhotoDriver.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-05-28 16:16:29 -0700
committerzotlabs <mike@macgirvin.com>2019-05-28 16:16:29 -0700
commit932b4140637e22e9fb4ff3a91a9c8f186915646b (patch)
treec6e6b8c19079d34fda0fa11d3af26ddef69ae2b6 /Zotlabs/Photo/PhotoDriver.php
parent7c2aafd4ee123f9db1ea2733119e0711f53414cc (diff)
parentca8d252ad75306e6d3cd066d5c593e94de1dfbdd (diff)
downloadvolse-hubzilla-932b4140637e22e9fb4ff3a91a9c8f186915646b.tar.gz
volse-hubzilla-932b4140637e22e9fb4ff3a91a9c8f186915646b.tar.bz2
volse-hubzilla-932b4140637e22e9fb4ff3a91a9c8f186915646b.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'Zotlabs/Photo/PhotoDriver.php')
-rw-r--r--Zotlabs/Photo/PhotoDriver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Photo/PhotoDriver.php b/Zotlabs/Photo/PhotoDriver.php
index bacf926ff..146ef0ae4 100644
--- a/Zotlabs/Photo/PhotoDriver.php
+++ b/Zotlabs/Photo/PhotoDriver.php
@@ -509,7 +509,7 @@ abstract class PhotoDriver {
$arr['imgscale'] = $scale;
if(boolval(get_config('system','filesystem_storage_thumbnails', 0)) && $scale > 0) {
- $channel = \App::get_channel();
+ $channel = channelx_by_n($arr['uid']);
$arr['os_storage'] = 1;
$arr['os_syspath'] = 'store/' . $channel['channel_address'] . '/' . $arr['os_path'] . '-' . $scale;
if(! $this->saveImage($arr['os_syspath']))