We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 864853e commit bbba7e8Copy full SHA for bbba7e8
quickbase.php
@@ -496,7 +496,7 @@ final public static function cleanXml2Arr(&$arr){
496
self::cleanXml2Arr($arr[$key]);
497
}
498
499
- if(is_numeric($arr[$key]) && strlen($arr[$key]) > 1 && substr($arr[$key], 0, 1) !== '0'){
+ if(is_numeric($arr[$key]) && (substr($arr[$key], 0, 1) !== '0' || $arr[$key] === '0')){
500
$arr[$key] = (double) $arr[$key];
501
}else
502
if(is_string($arr[$key])){
0 commit comments