From 0351ffcd28c0797f184bd0b5df6e3546784b8178 Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 22 Feb 2012 13:33:35 +0000 Subject: [PATCH] commit_hash is unknown by default --- core/util.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/util.inc.php b/core/util.inc.php index d216e559..6364161b 100644 --- a/core/util.inc.php +++ b/core/util.inc.php @@ -944,7 +944,7 @@ function get_debug_info() { $i_mem = "???"; } - if($config->get_string("commit_hash") == "unknown"){ + if($config->get_string("commit_hash", "unknown") == "unknown"){ $commit = ""; }else{ $commit = " (".$config->get_string("commit_hash").")";