CC-4482: Smart Blocks -> tracks with empty "Album" name are NOT filtered in

- fixed
This commit is contained in:
James 2012-09-18 16:50:42 -04:00
parent be214ac126
commit 8433ec5445
1 changed files with 4 additions and 0 deletions

View File

@ -1291,6 +1291,10 @@ SQL;
} else { } else {
$qry->add($spCriteria, $spCriteriaValue, $spCriteriaModifier); $qry->add($spCriteria, $spCriteriaValue, $spCriteriaModifier);
} }
if ($spCriteriaModifier == Criteria::NOT_ILIKE || $spCriteriaModifier == Criteria::NOT_EQUAL) {
$qry->addOr($spCriteria, null, Criteria::ISNULL);
}
} catch (Exception $e) { } catch (Exception $e) {
Logging::info($e); Logging::info($e);
} }