* Fix get installed date.

This commit is contained in:
qixinzhi
2024-05-10 01:12:25 +00:00
parent 14c28a76a1
commit e7b3594b15
+1 -1
View File
@@ -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')