Skip to content

Commit

Permalink
Merge branch 'experimental' of git://github.com/ahwayakchih/reflectio…
Browse files Browse the repository at this point in the history
…nfield into unstable
  • Loading branch information
brendo committed Jul 26, 2011
2 parents ac30b8f + dd438ee commit 07c471b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fields/field.reflection.php
Expand Up @@ -433,6 +433,9 @@ public function buildDSRetrivalSQL($data, &$joins, &$where, $andOperation = fals

else if (preg_match('/^(not-)?((starts|ends)-with|contains):\s*/', $data[0], $matches)) {
$data = trim(array_pop(explode(':', $data[0], 2)));

if ($data == '') return true;

$negate = ($matches[1] == '' ? '' : 'NOT');
$data = $this->cleanValue($data);

Expand Down

0 comments on commit 07c471b

Please sign in to comment.