From: Marcus Boerger Date: Wed, 21 Aug 2002 11:23:44 +0000 (+0000) Subject: Fixes array test 004.phpt. Nice copy paste error. X-Git-Tag: RELEASE_0_91~345 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=95e933fc998fb9a940bc6feb271be245136cba5b;p=php Fixes array test 004.phpt. Nice copy paste error. --- 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); }