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

Minor bug fix.

parent 6b65cda3
...@@ -1137,10 +1137,9 @@ function PAGEHEADER($title, $view = NULL, $extra_headers = NULL, ...@@ -1137,10 +1137,9 @@ function PAGEHEADER($title, $view = NULL, $extra_headers = NULL,
TBGetVersionInfo($major, $minor, $build); TBGetVersionInfo($major, $minor, $build);
$versioninfo = "Vers: $major.$minor Build: $build"; $versioninfo = "Vers: $major.$minor Build: $build";
$commithash = TBGetCommitHash();
$hash = TBGetCommitHash(); if (!$commithash) {
if ($hash) { $commithash = "";
$commithash = "$hash";
} }
} }
echo "<div id='versioninfo'>$versioninfo"; echo "<div id='versioninfo'>$versioninfo";
......
Supports Markdown
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