8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f76308 commit ef6fc09Copy full SHA for ef6fc09
src/Symfony/Component/Cache/Traits/PdoTrait.php
@@ -339,7 +339,7 @@ protected function doSave(array $values, $lifetime)
339
foreach ($serialized as $id => $data) {
340
$result = $stmt->execute();
341
342
- if (null === $driver && !($result instanceof Result ? $result : $stmt)->rowCount()) {
+ if (null === $driver && !($result instanceof Result ? $result->rowCount() : $stmt->rowCount())) {
343
try {
344
$insertStmt->execute();
345
} catch (DBALException $e) {
0 commit comments