diff --git a/classes/xml/xmlquery/argument/Argument.class.php b/classes/xml/xmlquery/argument/Argument.class.php index 756c043ea..f336da07c 100644 --- a/classes/xml/xmlquery/argument/Argument.class.php +++ b/classes/xml/xmlquery/argument/Argument.class.php @@ -84,7 +84,19 @@ } } if($column_type == 'number') - $value = (int)$value; + { + if(is_array($value)) + { + foreach($value AS $key=>$val) + { + $value[$key] = (int)$val; + } + } + else + { + $value = (int)$value; + } + } return $value; } @@ -188,4 +200,4 @@ } -?> \ No newline at end of file +?>