forked from GNUsocial/gnu-social
Avoid having to check for notices without rendered copies in upgrade.php
Always call the Notice->getRendered() function to get a rendered copy. We could perhaps put some sanitation there too in the future
This commit is contained in:
@@ -171,7 +171,7 @@ class UserEmailSummaryHandler extends QueueHandler
|
||||
$out->element('a', array('href' => $profile->profileurl),
|
||||
$profile->nickname);
|
||||
$out->text(' ');
|
||||
$out->raw($notice->rendered);
|
||||
$out->raw($notice->getRendered());
|
||||
$out->elementStart('div', array('style' => 'font-size: 0.8em; padding-top: 4px;'));
|
||||
$noticeurl = $notice->getLocalUrl();
|
||||
// above should always return an URL
|
||||
|
Reference in New Issue
Block a user