fix import bug
This commit is contained in:
parent
59243c754b
commit
fccdaada7e
@ -265,7 +265,7 @@ foreach ($arr_total_products as $product) {
|
||||
|
||||
$analysis_data = $analysis_query->Results;
|
||||
$ref_id = 0;
|
||||
if (count($analysis_data) > 0 && $trim_cas_val != "") {
|
||||
if (count($analysis_data) > 0 && $trim_cas_val != "" && $trim_cas_val != "-") {
|
||||
$ref_id = $analysis_data[0]['idcompoundsvocabulary'];
|
||||
} else {
|
||||
$tmp_val = $result_project[array_search($arr_associate[$i]->headerfile, $arr_excel_columns)];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user