commit_hash is unknown by default

This commit is contained in:
Shish 2012-02-22 13:33:35 +00:00
parent 6222c0d093
commit 0351ffcd28

View File

@ -944,7 +944,7 @@ function get_debug_info() {
$i_mem = "???"; $i_mem = "???";
} }
if($config->get_string("commit_hash") == "unknown"){ if($config->get_string("commit_hash", "unknown") == "unknown"){
$commit = ""; $commit = "";
}else{ }else{
$commit = " (".$config->get_string("commit_hash").")"; $commit = " (".$config->get_string("commit_hash").")";