Version 4.7.23
This commit is contained in:
1 parent
7124a02564
commit
25ddeb65d6
1791 files changed
+76990
-44452
No files matched your search
@@ -104,7 +104,13 @@ class _Application extends \IPS\Application
|
||||
{
|
||||
try
|
||||
{
|
||||
$document->addItem( $topic->title, $topic->url(), $canViewContent ? $topic->content() : NULL, \IPS\DateTime::ts( $topic->start_date ), $topic->tid );
|
||||
$content = NULL;
|
||||
if ( $canViewContent )
|
||||
{
|
||||
$content = $topic->content();
|
||||
\IPS\Output::i()->parseFileObjectUrls( $content );
|
||||
}
|
||||
$document->addItem( $topic->title, $topic->url(), $content, \IPS\DateTime::ts( $topic->start_date ), $topic->tid );
|
||||
}
|
||||
catch ( \Exception $e ) { }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user