Commit ad548607 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix.

parent 6b65cda3
......@@ -1137,10 +1137,9 @@ function PAGEHEADER($title, $view = NULL, $extra_headers = NULL,
TBGetVersionInfo($major, $minor, $build);
$versioninfo = "Vers: $major.$minor Build: $build";
$hash = TBGetCommitHash();
if ($hash) {
$commithash = "$hash";
$commithash = TBGetCommitHash();
if (!$commithash) {
$commithash = "";
}
}
echo "<div id='versioninfo'>$versioninfo";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment