Skip to content
Snippets Groups Projects
Commit 76a08c33 authored by Carsten  Rose's avatar Carsten Rose
Browse files

BindParam: fixed bug with param call by reference

parent b88c4cde
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ class BindParam {
private $values = array(), $types = '';
public function add(&$value) {
$this->values[] = $value;
$this->values[] = &$value;
$this->types .= $this->getParameterBindType($value);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment