Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Commit

Permalink
fix double bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Moskaliov committed Apr 4, 2012
1 parent a103092 commit e7cb7e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Git/PostReceiveHook.php
Expand Up @@ -486,7 +486,7 @@ private function getBugs($log)
$bugs = [];
if (preg_match_all('/(?:(pecl|pear|php)\s*)?(?:bug|#)[\s#:]*([0-9]+)/iuX', $log, $matchedBugs, PREG_SET_ORDER)) {
foreach($matchedBugs as $bug) {
$bugs[] = $bugUrlPrefixes[$bug[1]] . $bug[2];
$bugs[$bug[2]] = $bugUrlPrefixes[$bug[1]] . $bug[2];
}
}
return $bugs;
Expand Down

0 comments on commit e7cb7e7

Please sign in to comment.