diff options
| author | Zeev Suraski <zeev@php.net> | 2001-08-18 17:00:30 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2001-08-18 17:00:30 +0000 |
| commit | b33f9a00d2382c66322b56e22ab086a93af81429 (patch) | |
| tree | c556c1904512644b52307ceee5a0c1eebad8e09e /ext/msql/php_msql.c | |
| parent | e017ca8b72311a42bc0d1bc0c019bcde82bbcfdc (diff) | |
| download | php-git-b33f9a00d2382c66322b56e22ab086a93af81429.tar.gz | |
MFH
Diffstat (limited to 'ext/msql/php_msql.c')
| -rw-r--r-- | ext/msql/php_msql.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/msql/php_msql.c b/ext/msql/php_msql.c index 66639cb1a1..7a9444518d 100644 --- a/ext/msql/php_msql.c +++ b/ext/msql/php_msql.c @@ -849,11 +849,10 @@ PHP_FUNCTION(msql_result) return_value->value.str.len = (sql_row[field_offset]?strlen(sql_row[field_offset]):0); return_value->value.str.val = (char *) safe_estrndup(sql_row[field_offset],return_value->value.str.len); } + return_value->type = IS_STRING; } else { ZVAL_FALSE(return_value); } - - return_value->type = IS_STRING; } /* }}} */ |
