Skip to content

Commit 7053fb4

Browse files
committed
Ensure outgoing commit links go to the correct org
1 parent afb5525 commit 7053fb4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

themes/contribute.jquery.org/cla-check.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ function getData() {
5050

5151
$data = json_decode( $data );
5252
$data = normalizeData( $data );
53+
$data->owner = $owner;
5354
$data->repo = $repo;
5455
return $data;
5556
}
@@ -132,7 +133,7 @@ function neglectedAuthors( $data ) {
132133
}
133134

134135
function commitLog( $data ) {
135-
$commitPrefix = "https://github.com/jquery/$data->repo/commit/";
136+
$commitPrefix = "https://github.com/$data->owner/$data->repo/commit/";
136137

137138
$html = "<dl>\n";
138139
foreach ( $data->data->commits as $commit ) {

0 commit comments

Comments
 (0)