Bug 276423, VersionCheck does not exclude items. Patch by alanjstr, r=Wolf

This commit is contained in:
psychoticwolf%carolina.rr.com 2004-12-30 19:40:37 +00:00
parent 2fa894ae22
commit 5b6088f992

View File

@ -230,7 +230,8 @@ results show up. */
$where = " WHERE main.guid = '" . $reqItemGuid . "'
AND applications.guid = '" . $reqTargetAppGuid . "'
AND (version.OSID = 1 OR version.OSID = " . $osid . ")";
AND (version.OSID = 1 OR version.OSID = " . $osid . ")
AND version.approved = 'YES'";
/* Sort the result set so that the greatest OS Specific is the last one
at each level. */