Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of https://github.com/dhensby/DataObjectManager

  • Loading branch information...
commit 257720fae50452bad7fc74e45898b9dd1706716b 2 parents 184f740 + 9de8e8b
@unclecheese unclecheese authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  code/DataObjectManager.php
View
2  code/DataObjectManager.php
@@ -231,7 +231,7 @@ protected function loadSourceFilter()
$SNG = singleton($this->sourceClass);
foreach(parent::Headings() as $field) {
if($SNG->hasDatabaseField($field->Name))
- $search[] = "UPPER($field->Name) LIKE '%".strtoupper($this->search)."%'";
+ $search[] = "UPPER($field->Name) LIKE '%".Convert::raw2sql(strtoupper($this->search))."%'";
}
$search_string = "(".implode(" OR ", $search).")";
}
Please sign in to comment.
Something went wrong with that request. Please try again.