Skip to content
Permalink
Browse files

✏️ Fix typo in variable name

  • Loading branch information...
micgro42 committed Jul 5, 2018
1 parent f519f9d commit be2e462d8392a7abd53ed08370a8b44fd437a443
Showing with 2 additions and 2 deletions.
  1. +2 −2 inc/infoutils.php
@@ -86,8 +86,8 @@ function getVersionData(){
}
$subDir = substr($headCommit, 0, 2);
$fileName = substr($headCommit, 2);
$getCommitObject = DOKU_INC . ".git/objects/$subDir/$fileName";
$commit = zlib_decode(file_get_contents($getCommitObject));
$gitCommitObject = DOKU_INC . ".git/objects/$subDir/$fileName";
$commit = zlib_decode(file_get_contents($gitCommitObject));
$committerLine = explode("\n", $commit)[3];
$committerData = explode(' ', $committerLine);
end($committerData);

0 comments on commit be2e462

Please sign in to comment.
You can’t perform that action at this time.