mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-04 20:39:40 +00:00
[main] cast uniqid arg to string in ExportController
This commit is contained in:
@@ -405,7 +405,7 @@ class ExportController extends AbstractController
|
|||||||
'alias' => $alias,
|
'alias' => $alias,
|
||||||
];
|
];
|
||||||
unset($parameters['_token']);
|
unset($parameters['_token']);
|
||||||
$key = md5(uniqid(mt_rand(), false));
|
$key = md5(uniqid((string) mt_rand(), false));
|
||||||
|
|
||||||
$this->redis->setEx($key, 3600, serialize($parameters));
|
$this->redis->setEx($key, 3600, serialize($parameters));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user