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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user