Commit 79b3bd45 authored by Josh Campbell's avatar Josh Campbell

Allow NULL datatype statement binding

parent 5be507f9
...@@ -231,6 +231,7 @@ class MysqliDB { ...@@ -231,6 +231,7 @@ class MysqliDB {
protected function _determineType($item) protected function _determineType($item)
{ {
switch (gettype($item)) { switch (gettype($item)) {
case 'NULL':
case 'string': case 'string':
return 's'; return 's';
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment