10000
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 5d8f70d commit 7176c35Copy full SHA for 7176c35
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