|
|
@ -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, |
|
|
|