Skip to content

Commit

Permalink
Merge pull request #14613 from jeabakker/51_fixes
Browse files Browse the repository at this point in the history
fix(thewire): correctly call thewire_filter()
  • Loading branch information
jdalsem committed May 7, 2024
2 parents 1513b0c + 622cfb6 commit 59cb990
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod/thewire/views/default/object/thewire.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
];

if (elgg_extract('full_view', $vars)) {
$params['body'] = thewire_filter($entity->description);
$params['body'] = thewire_filter((string) $entity->description);
$params['show_summary'] = true;

$params = $params + $vars;
echo elgg_view('object/elements/full', $params);
} else {
$params['content'] = thewire_filter($entity->description);
$params['content'] = thewire_filter((string) $entity->description);

$params = $params + $vars;
echo elgg_view('object/elements/summary', $params);
Expand Down

0 comments on commit 59cb990

Please sign in to comment.