diff options
| author | Marcus Boerger <helly@php.net> | 2002-08-21 11:23:44 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2002-08-21 11:23:44 +0000 |
| commit | 95e933fc998fb9a940bc6feb271be245136cba5b (patch) | |
| tree | f854a820ede30c78762668fb387b13ef201ba651 /ext/standard/array.c | |
| parent | a70640480ac84399c4c71497556564aa1464871a (diff) | |
| download | php-git-95e933fc998fb9a940bc6feb271be245136cba5b.tar.gz | |
Fixes array test 004.phpt. Nice copy paste error.
Diffstat (limited to 'ext/standard/array.c')
| -rw-r--r-- | ext/standard/array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/array.c b/ext/standard/array.c index de666674f3..66fe142383 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -351,7 +351,7 @@ static int array_natural_general_compare(const void *a, const void *b, int fold_ convert_to_string(&first); } if (Z_TYPE_P(sval) != IS_STRING) { - zval_copy_ctor(&first); + zval_copy_ctor(&second); convert_to_string(&second); } |
