From e7b3594b15b4e420e438172185b8898bc539d07d Mon Sep 17 00:00:00 2001 From: qixinzhi Date: Fri, 10 May 2024 01:12:16 +0000 Subject: [PATCH] * Fix get installed date. --- module/metric/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/metric/model.php b/module/metric/model.php index 1124f375c8..96c1285dee 100755 --- a/module/metric/model.php +++ b/module/metric/model.php @@ -2690,7 +2690,7 @@ class metricModel extends model ->limit(1) ->fetch('value'); - if(!empty($installedDate) && substr($installedDate, 0 ,4) == '0000') return $installedDate; + if(!empty($installedDate) && substr($installedDate, 0 ,4) != '0000') return $installedDate; return $this->dao->select('date')->from(TABLE_ACTION) ->orderBy('date_asc')