aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-04-17 16:29:32 -0700
committerzotlabs <mike@macgirvin.com>2018-04-17 16:29:32 -0700
commit0576046d024a4eefba2dd7e43706e1d78270fa40 (patch)
tree17870e64fd03823da53765a0c056e08c478ad994 /Zotlabs/Module
parent02763811b35eb6be41db8071acb4e07725cac697 (diff)
downloadvolse-hubzilla-0576046d024a4eefba2dd7e43706e1d78270fa40.tar.gz
volse-hubzilla-0576046d024a4eefba2dd7e43706e1d78270fa40.tar.bz2
volse-hubzilla-0576046d024a4eefba2dd7e43706e1d78270fa40.zip
when changing cover photo, show existing
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Cover_photo.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Module/Cover_photo.php b/Zotlabs/Module/Cover_photo.php
index 56e35f912..d76c1b408 100644
--- a/Zotlabs/Module/Cover_photo.php
+++ b/Zotlabs/Module/Cover_photo.php
@@ -355,6 +355,7 @@ class Cover_photo extends \Zotlabs\Web\Controller {
$o .= replace_macros($tpl,array(
'$user' => \App::$channel['channel_address'],
+ '$existing' => get_cover_photo(local_channel(),'array',PHOTO_RES_COVER_850),
'$lbl_upfile' => t('Upload File:'),
'$lbl_profiles' => t('Select a profile:'),
'$title' => t('Change Cover Photo'),