Bug #11928 Updated: dbase_replace_record writes (null) in .dbf
| From: | robin dot marlow at dps-int dot com | Date: | Thu, 16 Aug 2001 12:52:13 +0000 |
| Subject: | Bug #11928 Updated: dbase_replace_record writes (null) in .dbf | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-63427@lists.php.net to get a copy of this message | ||
ID: 11928
User updated by: robin.marlow@dps-int.com
Reported By: robin.marlow@dps-int.com
Status: Open
Bug Type: dBase related
Operating System: Win2k
PHP Version: 4.0.6
New Comment:
Any news on this?
Here is the fix, when can this be implemented?...
312c312
< pval *dbh_id, *fields, **field, *recnum;
---
> pval *dbh_id, *fields, *field, *recnum;
359,360c359,360
< convert_to_string(*field);
< sprintf(t_cp, cur_f->db_format, (*field)->value.str.val);
---
> convert_to_string(field);
> sprintf(t_cp, cur_f->db_format, field->value.str.val);
362a363
>
Previous Comments:
------------------------------------------------------------------------
[2001-07-06 08:03:27] robin.marlow@dps-int.com
dbase_replace_record writes (null) string as field value. Identical bug with dbase_add_record was
fixed in 4.02. See bug #6519 and #10984 (latter still open!!).
I need a version where this function worked, or a promise of a fix soon or I'm screwed :o)
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=11928&edit=1