aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Cover_photo.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-04-18 08:19:56 +0200
committerMario Vavti <mario@mariovavti.com>2018-04-18 08:19:56 +0200
commit440ccf19d1b21d293f134e03233f0dd564cdc5ba (patch)
tree752bc8e1210197e2eff3ee8c1cad96bf74ac4a9c /Zotlabs/Module/Cover_photo.php
parentc0794a83b490031590bc1488b3f15a0cb4f7a2e4 (diff)
parentfc7d9c235cf845e687095d4f30d32eca4c12bc4a (diff)
downloadvolse-hubzilla-440ccf19d1b21d293f134e03233f0dd564cdc5ba.tar.gz
volse-hubzilla-440ccf19d1b21d293f134e03233f0dd564cdc5ba.tar.bz2
volse-hubzilla-440ccf19d1b21d293f134e03233f0dd564cdc5ba.zip
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'Zotlabs/Module/Cover_photo.php')
-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'),