Ensure unique cache keys

This commit is contained in:
Björn Fromme
2019-09-11 12:45:15 +02:00
parent f796e3df06
commit dd3d77283e
@@ -173,7 +173,7 @@ class ResellerController extends ActionController
throw new InvalidArgumentValueException();
}
$cacheKey = sprintf('reseller_export_csv_full_%d', $reseller->getUid());
$cacheKey = sprintf('reseller_export_csv_%s_%d', $type, $reseller->getUid());
if (($csv = $this->cache->get($cacheKey)) === false) {
$data = $this->resellerDataService->preprocessAll(