From 0e63bf94cb2616be6266204fa3d63b7450c99fd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E8=BE=B0=E8=BD=A9?= Date: Mon, 17 Apr 2023 11:28:01 +0800 Subject: [PATCH] *Modify version check. --- module/screen/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/screen/control.php b/module/screen/control.php index a45365ce81..84d6da7694 100644 --- a/module/screen/control.php +++ b/module/screen/control.php @@ -27,7 +27,7 @@ class screen extends control /* BI guide. */ $lang = (strpos($this->app->getClientLang(), 'zh') !== false) ? 'zh' : 'en'; - $version = !($this->config->edition == 'biz' or $this->config->edition == 'max') ? 'biz' : 'pms'; + $version = ($this->config->edition == 'biz' or $this->config->edition == 'max') ? 'biz' : 'pms'; $imageURL = "static/images/bi_guide_{$version}_{$lang}.png"; $currentUser = $this->app->user->account;