null dicount
This commit is contained in:
parent
870c1f4a11
commit
531799b16a
1 changed files with 1 additions and 1 deletions
|
@ -928,7 +928,7 @@ class ICrmOrderActions
|
|||
return false;
|
||||
|
||||
foreach($arr as $key => $value) {
|
||||
if(($value !== 0) || ($value !== 0.0) || (is_array($value) && empty($value)))
|
||||
if((!($value) && $value !== 0) || (is_array($value) && empty($value)))
|
||||
unset($arr[$key]);
|
||||
|
||||
if(is_array($value) && !empty($value))
|
||||
|
|
Loading…
Add table
Reference in a new issue