From 8439ae6b36c5160aafc842c58e2ed4b9134b7608 Mon Sep 17 00:00:00 2001 From: pengda <10266652509@qq.com> Date: Fri, 18 Oct 2024 18:52:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8D=AF=E6=96=B9=E8=AF=86=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/mFormula.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/mFormula.php b/model/mFormula.php index fb570c6..984c5e8 100644 --- a/model/mFormula.php +++ b/model/mFormula.php @@ -335,7 +335,7 @@ class mFormula extends mBase { if ($matches) { $herb_name = str_replace(array('(', ')'), '', trim($matches[1] . $matches[2])); $herb_num = str_replace(array('(', ')'), '', trim($matches[3] . $matches[4])); - $herb_desc = isset($matches[5]) ? str_replace(array('(', ')'), '', trim($matches[4])) : ""; + $herb_desc = isset($matches[5]) ? str_replace(array('(', ')'), '', trim($matches[5])) : ""; $herb_arr[] = array( 'herb_name' => $herb_name,