- Testing another boolean handling method

This commit is contained in:
Dave Mc Nicoll 2023-11-20 15:24:23 -05:00
parent afe5144dc7
commit ea667db552
1 changed files with 3 additions and 3 deletions

View File

@ -121,10 +121,10 @@ class PdoObject extends PDO {
else { else {
foreach ($parameters as $key => $value) { foreach ($parameters as $key => $value) {
switch (strtolower(gettype($value))) { switch (strtolower(gettype($value))) {
case "boolean": #$type = Pdo::PARAM_BOOL;
$type = Pdo::PARAM_BOOL; #break;
break;
case "boolean":
case "integer": case "integer":
$type = Pdo::PARAM_INT; $type = Pdo::PARAM_INT;
break; break;