1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 09:39:55 +02:00

PHP8 fixes

This commit is contained in:
Cameron
2021-01-06 11:54:51 -08:00
parent 7da26c73b4
commit 96827c6180
3 changed files with 14 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ 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' => varset($thumbs[0]),
'date' => e107::getParser()->toDate(varset($row['news_datestamp']), 'short'),
);
}