From b1ad3d22fe1ea0c6455784d0e2597b3fef3ce44f Mon Sep 17 00:00:00 2001 From: zhangjialiang Date: Thu, 26 Jun 2025 18:41:02 +0800 Subject: [PATCH] * [bug#63614] Fix duplicate ipd version names after installation. --- module/install/control.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/install/control.php b/module/install/control.php index ddc9bcc88e..e6002ab2a7 100644 --- a/module/install/control.php +++ b/module/install/control.php @@ -416,10 +416,10 @@ class install extends control $this->lang->install->successNoticeLabel = str_replace('IPD', '', $this->lang->install->successNoticeLabel); $this->config->version = $editionName . str_replace(array('max', 'biz', 'ipd'), '', $this->config->version); } - elseif(strpos($this->config->version, 'ipd') === false) + elseif($this->config->edition != 'ipd') { $editionName = $this->config->edition === 'open' ? $this->lang->pmsName : $this->lang->{$this->config->edition . 'Name'}; - $this->config->version = $editionName . str_replace(array('max', 'biz'), '', $this->config->version); + $this->config->version = $editionName . str_replace(array('max', 'biz', 'ipd'), '', $this->config->version); } $canDelFile = is_writable($this->app->getAppRoot() . 'www');