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:
@@ -146,7 +146,7 @@ class MapAction extends Action
|
||||
|
||||
$arr = $act->twitterStatusArray($notice, true);
|
||||
$arr['url'] = $notice->getUrl(true);
|
||||
$arr['html'] = $notice->rendered;
|
||||
$arr['html'] = $notice->getRendered();
|
||||
$arr['source'] = $arr['source'];
|
||||
|
||||
if (!empty($notice->reply_to)) {
|
||||
|
Reference in New Issue
Block a user