From: Jeroen van Wolffelaar Date: Wed, 26 Sep 2001 08:51:53 +0000 (+0000) Subject: Fix the fix X-Git-Tag: php4~61 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6693d112d2cda389461e4cbf0b50f43db7248a3a;p=php Fix the fix --- diff --git a/ext/sybase/php_sybase_db.c b/ext/sybase/php_sybase_db.c index 78d80f0cde..266c41b532 100644 --- a/ext/sybase/php_sybase_db.c +++ b/ext/sybase/php_sybase_db.c @@ -1286,7 +1286,7 @@ PHP_FUNCTION(sybase_result) break; } - *return_value = *Z_LVAL_P(result->data[row][field_offset]); + *return_value = *result->data[Z_LVAL_P(row)][field_offset]; pval_copy_constructor(return_value); } /* }}} */