mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
fix malformed sql
This commit is contained in:
@@ -84,7 +84,7 @@ class TokenManipulator implements ManipulatorInterface
|
||||
':data' => $data,
|
||||
':created' => $now,
|
||||
':updated' => $now,
|
||||
':expiration' => $expiration
|
||||
':expiration' => ($expiration === null ? null : $expiration->format('Y-m-d H:i:s'))
|
||||
];
|
||||
for($try=0; $try<1024; $try++) {
|
||||
$stmtParms['value'] = $this->random->generateString(32, self::LETTERS_AND_NUMBERS);
|
||||
|
Reference in New Issue
Block a user