Version 5.0.13
This commit is contained in:
1 parent
b89858b2ff
commit
5efe744c5f
1407 files changed
+69690
-30177
No files matched your search
@@ -161,11 +161,14 @@ class Content extends Result
|
||||
$data = array_pop( $images );
|
||||
$key = key( $data );
|
||||
|
||||
try
|
||||
if( !empty( $data[ $key ] ) )
|
||||
{
|
||||
$enclosure = File::get( $key, $data[ $key ] );
|
||||
try
|
||||
{
|
||||
$enclosure = File::get( $key, $data[ $key ] );
|
||||
}
|
||||
catch( Exception ) { }
|
||||
}
|
||||
catch( Exception ) { }
|
||||
}
|
||||
|
||||
$document->addItem( $object instanceof Comment ? $object->item()->mapped( 'title' ) : $object->mapped( 'title' ), $object->url(), Result::preDisplay( $this->indexData['index_content'] ), DateTime::ts( $this->indexData['index_date_created'] ), NULL, $enclosure );
|
||||
|
||||
Reference in new issue
Block a user