Skip to content

Commit

Permalink
New feature: '|' separator support in the DB fields types string
Browse files Browse the repository at this point in the history
  • Loading branch information
dzarezenko committed Dec 16, 2016
1 parent 6b50cc1 commit ddc10a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/db/DBPreparedQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class DBPreparedQuery extends DBQuery {
*/
public function __construct($query = "", $types = "", $params = []) {
$this->query = $query;
$this->types = $types;
$this->types = str_replace(["|"], "", $types);
$this->params = $params;

if (!empty($this->query)) {
Expand Down

0 comments on commit ddc10a5

Please sign in to comment.