We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ae74a0 commit c9375c5Copy full SHA for c9375c5
SourceCgit/SourceCgit.php
@@ -250,7 +250,7 @@ public function commit_revision( $p_input ) {
250
* @return array author / committer
251
*/
252
public function commit_author( $p_input ) {
253
- $pattern = "<td>(?:.*?</span>)?(.*?) <(.*?@.*?)></td><td class='right'>(.*?)</td>#";
+ $pattern = "<td>(?:.*?</span>)?(.*?) <(.*?@.*?)?></td><td class='right'>(.*?)</td>#";
254
255
preg_match( "#<tr><th>author</th>" . $pattern, $p_input, $t_matches );
256
$t_commit['author'] = trim( $t_matches[1] );
0 commit comments