Page MenuHomeDevCentral

D3803.diff
No OneTemporary

D3803.diff

diff --git a/database/src/Exceptions/SqlException.php b/database/src/Exceptions/SqlException.php
--- a/database/src/Exceptions/SqlException.php
+++ b/database/src/Exceptions/SqlException.php
@@ -53,7 +53,7 @@
// Build from state
parent::__construct(
$this->state['error'] ?? self::DEFAULT_MESSAGE,
- $this->state['errno'] ?? 0,
+ (int)$this->state['errno'] ?? 0,
);
}
}

File Metadata

Mime Type
text/plain
Expires
Fri, Oct 24, 13:03 (20 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3100803
Default Alt Text
D3803.diff (471 B)

Event Timeline