diff options
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/classes/Git.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/classes/Git.php b/libraries/classes/Git.php index 3641cf1a0d..f30c500080 100644 --- a/libraries/classes/Git.php +++ b/libraries/classes/Git.php @@ -394,7 +394,11 @@ class Git $user2['date'] .= $user[4]; } - ${$linetype} = $user2; + if ($linetype === 'author') { + $author = $user2; + } elseif ($linetype === 'committer') { + $committer = $user2; + } } while ($dataline != ''); $message = trim(implode(' ', $commit)); |