Make WordPress Core

Changeset 4341


Ignore:
Timestamp:
10/04/2006 09:40:06 PM (18 years ago)
Author:
markjaquith
Message:

cast to array. fixes 2331

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-admin/link-categories.php

    r4271 r4341  
    310310         . " text_after_all, list_limit FROM $wpdb->linkcategories ORDER BY cat_id");
    311311$i = 1;
    312 foreach ($results as $row) {
     312foreach ( (array) $results as $row) {
    313313    if ($row->list_limit == -1) {
    314314        $row->list_limit = __('none');
Note: See TracChangeset for help on using the changeset viewer.