Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.2.0
-
Fix Version/s: 1.2.1
-
Component/s: Connection
-
Labels:None
Description
Close cursor method cleans up non-existing array $bind_params, correct variable name is $bindParams. (comment of $bindParams is wrong to because it also speaks about $bind_params)
Now:
public function closeCursor()
{
$this->bind_params = array();
return oci_free_statement($this->statement);
}
Fix:
public function closeCursor()
{
$this->bindParams = array();
return oci_free_statement($this->statement);
}