cvs: php4 /ext/standard array.c
| From: | Marcus B�rger | Date: | Wed, 21 Aug 2002 11:23:45 +0000 |
| Subject: | cvs: php4 /ext/standard array.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13527@lists.php.net to get a copy of this message | ||
helly Wed Aug 21 07:23:45 2002 EDT
Modified files:
/php4/ext/standard array.c
Log:
Fixes array test 004.phpt. Nice copy paste error.
Index: php4/ext/standard/array.c
diff -u php4/ext/standard/array.c:1.182 php4/ext/standard/array.c:1.183
--- php4/ext/standard/array.c:1.182 Thu Aug 15 15:09:05 2002
+++ php4/ext/standard/array.c Wed Aug 21 07:23:44 2002
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: array.c,v 1.182 2002/08/15 19:09:05 kalowsky Exp $ */
+/* $Id: array.c,v 1.183 2002/08/21 11:23:44 helly Exp $ */
#include "php.h"
#include "php_ini.h"
@@ -351,7 +351,7 @@
convert_to_string(&first);
}
if (Z_TYPE_P(sval) != IS_STRING) {
- zval_copy_ctor(&first);
+ zval_copy_ctor(&second);
convert_to_string(&second);
}