diff --git a/SourceGithub/SourceGithub.php b/SourceGithub/SourceGithub.php index 56d494f..ab6d1a8 100644 --- a/SourceGithub/SourceGithub.php +++ b/SourceGithub/SourceGithub.php @@ -223,8 +223,8 @@ $t_commits = array(); - foreach( $p_data['commits'] as $t_id => $t_details ) { - $t_commits[] = $t_id; + foreach( $p_data['commits'] as $t_commit ) { + $t_commits[] = $t_commit['id']; } $t_branch = '';