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,