Wow I'm dumb

This commit is contained in:
Jordan Brown
2017-09-13 15:58:48 -04:00
committed by GitHub
parent 3e81ac2914
commit 365541b5e1

View File

@@ -263,7 +263,7 @@ function check_ready_for_review($payload, $labels = null){
if(isset($R['author_association'])){
$lower_association = strtolower($R['author_association']);
if($lower_association == 'member' || $lower_association == 'contributor' || $lower_association == 'owner'){
$lowerstate = strtolower($R['state']);
$lower_state = strtolower($R['state']);
if($lower_state == 'changes_requested')
$reviews_ids_with_changes_requested[] = $R['id'];
else if ($lower_state == 'approved'){