Ensure unique cache keys
This commit is contained in:
@@ -173,7 +173,7 @@ class ResellerController extends ActionController
|
|||||||
throw new InvalidArgumentValueException();
|
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) {
|
if (($csv = $this->cache->get($cacheKey)) === false) {
|
||||||
$data = $this->resellerDataService->preprocessAll(
|
$data = $this->resellerDataService->preprocessAll(
|
||||||
|
|||||||
Reference in New Issue
Block a user