🐛 N°1946 - newsroom cache shared between users

The cache should be per user, even if two users share the same
machine/browser.
This commit is contained in:
Denis Flaven
2019-01-08 15:16:50 +01:00
parent 8894ff0fda
commit 87a98fe382

View File

@@ -844,7 +844,7 @@ EOF
$aParams = array(
'image_url' => $sImageUrl,
'placeholder_image_url' => $sPlaceholderImageUrl,
'cache_uuid' => 'itop-newsroom-'.md5(APPROOT),
'cache_uuid' => 'itop-newsroom-'.UserRights::GetUserId().'-'.md5(APPROOT),
'providers' => $aProviderParams,
'display_limit' => (int)appUserPreferences::GetPref('newsroom_display_size', 7),
'labels' => array(