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 6601c31 commit 7420a56Copy full SHA for 7420a56
system/Database/BaseConnection.php
@@ -1238,7 +1238,7 @@ public function escape($str)
1238
}
1239
1240
if (is_string($str) || (is_object($str) && method_exists($str, '__toString'))) {
1241
- if (is_a($str, RawSql::class)) {
+ if ($str instanceof RawSql) {
1242
return $str->__toString();
1243
1244
system/Database/Postgre/Connection.php
@@ -182,7 +182,7 @@ public function escape($str)
182
183
184
185
186
187
188
0 commit comments