we must sslify all possible content variables

This commit is contained in:
Mario Vavti 2019-01-10 00:29:05 +01:00
parent b22caef65f
commit 90b6afe06b

View File

@ -1691,8 +1691,15 @@ function prepare_body(&$item,$attach = false,$opts = false) {
if(local_channel() == $item['uid']) if(local_channel() == $item['uid'])
$filer = format_filer($item); $filer = format_filer($item);
if($s)
$s = sslify($s); $s = sslify($s);
if($photo)
$photo = sslify($photo);
if($event)
$event = sslify($event);
$prep_arr = array( $prep_arr = array(
'item' => $item, 'item' => $item,
'photo' => $photo, 'photo' => $photo,