From: andi <bin...@li...> - 2001-09-13 16:32:12
|
andi Thu Sep 13 09:32:06 2001 EDT Modified files: /r2/binarycloud/base/lib XMLUtils.php Log: Integers and float values no longer quoted in generated arrays Index: r2/binarycloud/base/lib/XMLUtils.php diff -u r2/binarycloud/base/lib/XMLUtils.php:1.4 r2/binarycloud/base/lib/XMLUtils.php:1.5 --- r2/binarycloud/base/lib/XMLUtils.php:1.4 Wed Sep 12 11:14:42 2001 +++ r2/binarycloud/base/lib/XMLUtils.php Thu Sep 13 09:32:06 2001 @@ -1,7 +1,7 @@ <? // Header {{{ /* - * -File $Id: XMLUtils.php,v 1.4 2001/09/12 18:14:42 andi Exp $ + * -File $Id: XMLUtils.php,v 1.5 2001/09/13 16:32:06 andi Exp $ * -License LGPL (http://www.gnu.org/copyleft/lesser.html) * -Copyright 2001, Intacct Corporation. * -Author odysseas tsatalos, ody...@ya... @@ -87,7 +87,7 @@ } elseif (strstr($var, 'BC_')){ $ret_val.=$var; - } elseif (intval($var)) { + } elseif (is_integer($var) || is_float($var)) { $ret_val.=$var; } else { |