Commit b4313ce0 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Fix CS

parent 487c506b
...@@ -121,13 +121,11 @@ class OCI8Statement implements \IteratorAggregate, Statement ...@@ -121,13 +121,11 @@ class OCI8Statement implements \IteratorAggregate, Statement
$lob->writeTemporary($variable, OCI_TEMP_BLOB); $lob->writeTemporary($variable, OCI_TEMP_BLOB);
return oci_bind_by_name($this->_sth, $column, $lob, -1, OCI_B_BLOB); return oci_bind_by_name($this->_sth, $column, $lob, -1, OCI_B_BLOB);
} else { } else if ($length !== null) {
if ($length!=null) { return oci_bind_by_name($this->_sth, $column, $variable, $length);
return oci_bind_by_name($this->_sth, $column, $variable, $length);
} else {
return oci_bind_by_name($this->_sth, $column, $variable);
}
} }
return oci_bind_by_name($this->_sth, $column, $variable);
} }
/** /**
......
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