prevent PRs from being displayed in build badge

This commit is contained in:
Brad Rydzewski 2014-10-09 19:03:11 -07:00
parent 17d773fac0
commit ecdd001811

View file

@ -133,6 +133,7 @@ SELECT *
FROM commits FROM commits
WHERE repo_id = ? WHERE repo_id = ?
AND commit_branch = ? AND commit_branch = ?
AND commit_pr = ''
ORDER BY commit_id DESC ORDER BY commit_id DESC
LIMIT 1 LIMIT 1
` `