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";