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 609a787 commit b1cc7ceCopy full SHA for b1cc7ce
lib/r.php
@@ -21,7 +21,7 @@ function rq(string $query, array $params, bool $exit = true, int $level = 0, boo
21
foreach ($params as $key => $value) {
22
$query = \str_replace(
23
\sprintf(':%s', $key),
24
- \sprintf('"%s"', \str_replace('"', '\\"', $value)),
+ \sprintf('"%s"', \str_replace('"', '\\"', (string) $value)),
25
$query
26
);
27
}
0 commit comments