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 87af5f8 commit ad3e088Copy full SHA for ad3e088
system/Database/BaseConnection.php
@@ -1243,7 +1243,7 @@ public function escape($str)
1243
}
1244
1245
if (is_string($str) || (is_object($str) && method_exists($str, '__toString'))) {
1246
- if (is_a($str, RawSql::class)) {
+ if ($str instanceof RawSql) {
1247
return $str->__toString();
1248
1249
system/Database/Postgre/Connection.php
@@ -182,7 +182,7 @@ public function escape($str)
182
183
184
185
186
187
188
0 commit comments