Skip to content

Commit

Permalink
Fixed handling of check box values in query.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dawnthorn committed May 12, 2015
1 parent 41c5a20 commit 497422a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CRM/Core/BAO/CustomQuery.php
Expand Up @@ -371,6 +371,7 @@ function where() {
continue;
}

$k = CRM_Core_DAO::escapeString($k);
$sqlValue[] = "( $sql like '%" . CRM_Core_DAO::VALUE_SEPARATOR . $k . CRM_Core_DAO::VALUE_SEPARATOR . "%' ) ";
}
}
Expand Down

0 comments on commit 497422a

Please sign in to comment.