1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 22:57:14 +02:00

Added news_datestamp to related item

This commit is contained in:
Tijn Kuyper
2019-05-09 11:00:42 +02:00
committed by GitHub
parent 184fd227cb
commit 270c4c458a

View File

@@ -38,7 +38,8 @@ class news_related // include plugin-folder in the name.
'title' => varset($row['news_title']),
'url' => e107::getUrl()->create('news/view/item',$row), // '{e_BASE}news.php?extend.'.$row['news_id'],
'summary' => varset($row['news_summary']),
'image' => $thumbs[0]
'image' => $thumbs[0],
'date' => e107::getParser()->toDate(varset($row['news_datestamp']), 'short'),
);
}
@@ -54,4 +55,4 @@ class news_related // include plugin-folder in the name.
?>
?>