FIX Handle null values passed to PDO::quote() (#10383)

This commit is contained in:
Brandon Iffert 2022-07-03 21:17:51 -04:00 committed by GitHub
parent b37178e831
commit ad83b78a10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -292,7 +292,7 @@ class PDOConnector extends DBConnector implements TransactionManager
public function quoteString($value)
{
return $this->pdoConnection->quote($value);
return $this->pdoConnection->quote($value ?? '');
}
/**