mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
[main] cast uniqid arg to string in ExportController
This commit is contained in:
parent
f48e197e0b
commit
c76f2a81c9
@ -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));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user