Commit c72f90d1 authored by Kulya's avatar Kulya 😊

Upd alvbx add prods4

parent 5ece354c
......@@ -405,13 +405,13 @@ class AloVoiceRest
$bxFld = substr($bxf,9);
if(substr($blzf,0,11)=="properties_"){
$blzSubFldCode = substr($blzf,11);
$blzVal = $data["properties"][$blzSubFldCode];
$blzVal = (!empty($data["properties"][$blzSubFldCode])) ? $data["properties"][$blzSubFldCode] : false;
}
else {
$blzVal = $blzf;
}
if( $bxFld != "ID" && $bxFld != "xmlId" && $bxFld != "quantity" ){
if( $bxFld != "ID" && $bxFld != "xmlId" && $bxFld != "quantity" && !empty($blzVal) ){
$arNewProductParams[$bxFld] = $blzVal;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment