]> granicus.if.org Git - php/commitdiff
Fix the fix
authorJeroen van Wolffelaar <jeroen@php.net>
Wed, 26 Sep 2001 08:51:53 +0000 (08:51 +0000)
committerJeroen van Wolffelaar <jeroen@php.net>
Wed, 26 Sep 2001 08:51:53 +0000 (08:51 +0000)
ext/sybase/php_sybase_db.c

index 78d80f0cde20981c35a5bebd100216c288547df0..266c41b532eec12db9812125c863175b046d1eb1 100644 (file)
@@ -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);
 }
 /* }}} */