1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-29 01:00:20 +02:00

Issue #4332 Carousel fixes. Newsfeed now uses json to store data.

This commit is contained in:
Cameron
2021-01-01 09:33:51 -08:00
parent e6ceafd496
commit 81634d5f5a
16 changed files with 46 additions and 37 deletions

View File

@@ -216,7 +216,7 @@ class newsfeedClass
$temp['newsfeed_image_link'] = !empty($newsfeed_image) ? "<img src='".$newsfeed_image."' alt='' />" : '';
}
$serializedArray = e107::serialize($temp, false);
$serializedArray = e107::serialize($temp, 'json');
$now = time();
$this->newsList[$feedID]['newsfeed_data'] = $serializedArray;