cvs: php4 /ext/standard/ array.c
| From: | Andrei Zmievski | Date: | Thu, 18 May 2000 12:29:45 +0000 |
| Subject: | cvs: php4 /ext/standard/ array.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-15193@lists.php.net to get a copy of this message | ||
andrei Thu May 18 14:29:45 2000 EDT
Modified files:
/php4/ext/standard array.c
Log:
(PHP array_multisort) Fix the array_size test.
Index: php4/ext/standard/array.c
diff -u php4/ext/standard/array.c:1.42 php4/ext/standard/array.c:1.43
--- php4/ext/standard/array.c:1.42 Thu May 18 02:47:57 2000
+++ php4/ext/standard/array.c Thu May 18 14:29:45 2000
@@ -2227,7 +2227,7 @@
/* If all arrays are empty or have only one entry,
we don't need to do anything. */
- if (array_size < 1) {
+ if (array_size <= 1) {
efree(ARRAYG(multisort_flags));
efree(arrays);
efree(args);