]> granicus.if.org Git - php/commitdiff
- MFH (WS-fix)
authorJan Lehnardt <jan@php.net>
Mon, 10 Jun 2002 16:36:28 +0000 (16:36 +0000)
committerJan Lehnardt <jan@php.net>
Mon, 10 Jun 2002 16:36:28 +0000 (16:36 +0000)
ext/standard/array.c

index 681689c77ff90314ce5f94b97dab9c2a06055fea..efcadc9c79d7b71999a8604a621a63e970ddefe9 100644 (file)
@@ -2545,7 +2545,7 @@ PHP_FUNCTION(array_diff)
        /* for each argument, create and sort list with pointers to the hash buckets */
        lists = (Bucket ***)emalloc(argc * sizeof(Bucket **));
        ptrs = (Bucket ***)emalloc(argc * sizeof(Bucket **));
-    set_compare_func(SORT_STRING TSRMLS_CC);
+       set_compare_func(SORT_STRING TSRMLS_CC);
        for (i=0; i<argc; i++) {
                if (Z_TYPE_PP(args[i]) != IS_ARRAY) {
                        php_error(E_WARNING, "Argument #%d to array_diff() is not an array", i+1);