fix malformed sql

This commit is contained in:
Jean-Yves Gaulier
2020-02-07 19:34:30 +01:00
parent e75a483cd5
commit 746c9076d4

View File

@@ -84,7 +84,7 @@ class TokenManipulator implements ManipulatorInterface
':data' => $data, ':data' => $data,
':created' => $now, ':created' => $now,
':updated' => $now, ':updated' => $now,
':expiration' => $expiration ':expiration' => ($expiration === null ? null : $expiration->format('Y-m-d H:i:s'))
]; ];
for($try=0; $try<1024; $try++) { for($try=0; $try<1024; $try++) {
$stmtParms['value'] = $this->random->generateString(32, self::LETTERS_AND_NUMBERS); $stmtParms['value'] = $this->random->generateString(32, self::LETTERS_AND_NUMBERS);