diff options
author | zotlabs <mike@macgirvin.com> | 2019-05-28 16:16:29 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2019-05-28 16:16:29 -0700 |
commit | 932b4140637e22e9fb4ff3a91a9c8f186915646b (patch) | |
tree | c6e6b8c19079d34fda0fa11d3af26ddef69ae2b6 /Zotlabs/Photo/PhotoDriver.php | |
parent | 7c2aafd4ee123f9db1ea2733119e0711f53414cc (diff) | |
parent | ca8d252ad75306e6d3cd066d5c593e94de1dfbdd (diff) | |
download | volse-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.php | 2 |
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'])) |