WordPress.org

Make WordPress Core

Ticket #3179: 3179.diff

File 3179.diff, 474 bytes (added by Nazgul, 15 years ago)
  • wp-includes/template-functions-category.php

     
    301301                        WHERE cat_ID > 0 $exclusions
    302302                        ORDER BY $sort_column $sort_order";
    303303
    304                 $categories = $wpdb->get_results($query);
     304                $categories = (array) $wpdb->get_results($query);
    305305        }
    306306
    307307        if ( $optiondates ) {