diff options
author | Sterling Hughes <sterling@php.net> | 2000-08-13 17:41:20 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2000-08-13 17:41:20 +0000 |
commit | 93acbedce8afa8f77478eea30985e89efcdc61d1 (patch) | |
tree | c090f002dbdf5824048e573bd712c93841d00b1b /ext/dbase | |
parent | 20c007b2290f2edbf227725b69024d3e64c3221f (diff) | |
download | php-git-93acbedce8afa8f77478eea30985e89efcdc61d1.tar.gz |
@ Fixed dbase_add_record. (Sterling)
Diffstat (limited to 'ext/dbase')
-rw-r--r-- | ext/dbase/dbase.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dbase/dbase.c b/ext/dbase/dbase.c index adb3e284d2..8738b4f3b2 100644 --- a/ext/dbase/dbase.c +++ b/ext/dbase/dbase.c @@ -233,7 +233,7 @@ PHP_FUNCTION(dbase_pack) { /* {{{ proto bool dbase_add_record(int identifier, array data) Adds a record to the database */ PHP_FUNCTION(dbase_add_record) { - pval *dbh_id, *fields, *field; + pval *dbh_id, *fields, **field; dbhead_t *dbh; int dbh_type; @@ -281,7 +281,7 @@ PHP_FUNCTION(dbase_add_record) { RETURN_FALSE; } - tmp = *field; + tmp = **field; zval_copy_ctor(&tmp); convert_to_string(&tmp); sprintf(t_cp, cur_f->db_format, tmp.value.str.val); |