1
0
mirror of synced 2024-11-22 05:16:09 +03:00

null dicount

This commit is contained in:
Grisha Pomadchin 2013-11-15 17:51:51 +04:00
parent 870c1f4a11
commit 531799b16a

View File

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