cvs: php4(PHP_4_2_0) /ext/standard array.c
| From: | Jani Taskinen | Date: | Wed, 21 Aug 2002 15:17:16 +0000 |
| Subject: | cvs: php4(PHP_4_2_0) /ext/standard array.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13531@lists.php.net to get a copy of this message | ||
sniper Wed Aug 21 11:17:16 2002 EDT
Modified files: (Branch: PHP_4_2_0)
/php4/ext/standard array.c
Log:
MFH
Index: php4/ext/standard/array.c
diff -u php4/ext/standard/array.c:1.157.2.3 php4/ext/standard/array.c:1.157.2.4
--- php4/ext/standard/array.c:1.157.2.3 Mon Jun 10 12:36:28 2002
+++ php4/ext/standard/array.c Wed Aug 21 11:17:16 2002
@@ -21,7 +21,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: array.c,v 1.157.2.3 2002/06/10 16:36:28 jan Exp $ */
+/* $Id: array.c,v 1.157.2.4 2002/08/21 15:17:16 sniper Exp $ */
#include "php.h"
#include "php_ini.h"
@@ -353,7 +353,7 @@
convert_to_string(&first);
}
if (Z_TYPE_P(sval) != IS_STRING) {
- zval_copy_ctor(&first);
+ zval_copy_ctor(&second);
convert_to_string(&second);
}