From 499a3ce009a7a3082722dd5a840b1b515e96afc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=80=A1=E6=A0=8B?= Date: Thu, 12 Aug 2021 10:44:58 +0800 Subject: [PATCH] * fix for lower php version. --- module/doc/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/doc/model.php b/module/doc/model.php index a30c4b5658..56dd28616c 100644 --- a/module/doc/model.php +++ b/module/doc/model.php @@ -2276,7 +2276,7 @@ EOT; /* Summary of each type. */ foreach($extensionCount as $extension => $count) { - if(in_array($this->app->getClientLang(), ['zh-cn','zh-tw'])) + if(in_array($this->app->getClientLang(), array('zh-cn','zh-tw'))) { $extensionSummary .= $extension . ' ' . $count . $this->lang->doc->ge . $this->lang->doc->point; }