Created
August 10, 2012 16:19
-
-
Save f0t0n/3315324 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if(!empty($labelNegativeFilter)) { | |
$criteria->addCondition(' | |
t.id NOT IN ( | |
SELECT bug_id FROM {{bug_by_label}} | |
WHERE label_id IN ( | |
' . implode(',', $labelNegativeFilter) .' | |
) | |
) | |
'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment