From: andi <bin...@li...> - 2001-09-12 18:14:48
|
andi Wed Sep 12 11:14:42 2001 EDT Modified files: /r2/binarycloud/base/lib XMLUtils.php Log: small addition integers are no longer quoted in generated arrays Index: r2/binarycloud/base/lib/XMLUtils.php diff -u r2/binarycloud/base/lib/XMLUtils.php:1.3 r2/binarycloud/base/lib/XMLUtils.php:1.4 --- r2/binarycloud/base/lib/XMLUtils.php:1.3 Thu Aug 23 17:06:55 2001 +++ r2/binarycloud/base/lib/XMLUtils.php Wed Sep 12 11:14:42 2001 @@ -1,7 +1,7 @@ <? // Header {{{ /* - * -File $Id: XMLUtils.php,v 1.3 2001/08/24 00:06:55 alex Exp $ + * -File $Id: XMLUtils.php,v 1.4 2001/09/12 18:14:42 andi Exp $ * -License LGPL (http://www.gnu.org/copyleft/lesser.html) * -Copyright 2001, Intacct Corporation. * -Author odysseas tsatalos, ody...@ya... @@ -87,6 +87,8 @@ } elseif (strstr($var, 'BC_')){ $ret_val.=$var; + } elseif (intval($var)) { + $ret_val.=$var; } else { $var=str_replace('"','',$var); |