Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#18 NULLs not converting to zero

Current release
open
nobody
(General) (10)
5
2009-05-30
2009-05-30
Andrew Gregory
No

The function _retrieve_value (line 671 in gladius.php) does not handle nulls. I've found I've had to add the following code to the beginning of the !is_numeric code for both integer and double data types:

if ($value == NULL) {
$dest = 0;
return true;
}

Discussion