more ambiguous fixes

This commit is contained in:
Akinwale Ariwodola 2017-06-19 01:33:37 +01:00
parent 20a818c866
commit 981bd7d6a0

View file

@ -40,7 +40,7 @@ class ClaimsController extends AppController {
$beforeId = 0; $beforeId = 0;
} }
$conditions = ['Claims.ThumbnailUrl IS NOT' => null, 'LENGTH(TRIM(Claims.ThumbnailUrl)) >' => 0, 'IsFiltered <>' => 1]; $conditions = ['Claims.ThumbnailUrl IS NOT' => null, 'LENGTH(TRIM(Claims.ThumbnailUrl)) >' => 0, 'Claims.IsFiltered <>' => 1];
if ($afterId > 0) { if ($afterId > 0) {
$conditions['Claims.Id >'] = $afterId; $conditions['Claims.Id >'] = $afterId;
} else if ($beforeId) { } else if ($beforeId) {