WordPress.org

Make WordPress Core

Changeset 9595


Ignore:
Timestamp:
11/10/08 18:34:46 (7 years ago)
Author:
ryan
Message:

Fix SQL error when scanning for lost attachments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/upload.php

    r9589 r9595  
    111111if ( isset($_GET['detached']) ) { 
    112112 
    113     if ( isset($lost) ) { 
     113    if ( !empty($lost) ) { 
    114114        $start = ( $_GET['paged'] - 1 ) * 50; 
    115115        $page_links_total = ceil(count($lost) / 50); 
Note: See TracChangeset for help on using the changeset viewer.