We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac1c0e5 commit 3e10fdbCopy full SHA for 3e10fdb
1 file changed
src/DB.php
@@ -80,7 +80,9 @@ private static function queryTyped($query): mixed
80
}
81
82
$stmt = self::$mysqli->prepare($query);
83
- $stmt->bind_param(...$nargs);
+ if ($nargs[0]) {
84
+ $stmt->bind_param(...$nargs);
85
+ }
86
} else {
87
88
0 commit comments