Make WordPress Core

Ticket #13715: 13715.diff

File 13715.diff, 577 bytes (added by mitchoyoshitaka, 15 years ago)
  • wp-admin/includes/upgrade.php

     
    14021402                        if ( array_key_exists(strtolower($table), $cqueries) ) {
    14031403                                // Clear the field and index arrays
    14041404                                unset($cfields);
    1405                                 unset($indices);
     1405                                $indices = array();
    14061406                                // Get all of the field names in the query from between the parens
    14071407                                preg_match("|\((.*)\)|ms", $cqueries[strtolower($table)], $match2);
    14081408                                $qryline = trim($match2[1]);