From 7319b0c27ffd2d40c2879cb1ad8bc09de913031a Mon Sep 17 00:00:00 2001 From: fkwa Date: Sun, 2 Aug 2020 22:01:35 +0300 Subject: [PATCH] Partially fix version detection errors --- bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.php b/bootstrap.php index 2c140767..5be2b04f 100644 --- a/bootstrap.php +++ b/bootstrap.php @@ -123,7 +123,7 @@ return (function() { $showCommitHash = true; # plz remove when release if(is_dir($gitDir = OPENVK_ROOT . "/.git") && $showCommitHash) - $ver = trim(`git --git-dir="$gitDir" log --pretty="%h" -n1 HEAD`) . "-nightly"; + $ver = trim(`git --git-dir="$gitDir" log --pretty="%h" -n1 HEAD` ?? "Unknown version") . "-nightly"; else $ver = "Build 15";