Fixes webhook processor

This commit is contained in:
Jordan Brown
2017-09-20 15:26:46 -04:00
committed by GitHub
parent 21daf6e4d8
commit bf575871f7

View File

@@ -355,7 +355,7 @@ function check_dismiss_changelog_review($payload){
}
else
//kill previous reviews
foreach($reviews as $R){
foreach($reviews as $R)
if($R['body'] == $review_message && strtolower($R['state']) == 'changes_requested')
dismiss_review($payload, $R['id'], 'Changelog added/fixed.');
}