|
@@ -121,7 +121,7 @@
|
|
|
}elseif($type == \PDO::PARAM_NULL){
|
|
|
return 'null';
|
|
|
}
|
|
|
- return $this->pdo->quote($value, $type);
|
|
|
+ return $this->pdo->quote((string)$value, $type);
|
|
|
}
|
|
|
public function beginTransaction(...$args){
|
|
|
return $this->pdo->beginTransaction(...$args);
|
|
@@ -219,4 +219,4 @@
|
|
|
return "constraint `{$name}` foreign key ({$cols0}) references `{$foreignKey['references']}` ({$cols1})";
|
|
|
}
|
|
|
}
|
|
|
-?>
|
|
|
+?>
|