Fix SQL error when scanning for lost attachments

git-svn-id: https://develop.svn.wordpress.org/trunk@9595 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-11-10 18:34:46 +00:00
parent 96a2e11b58
commit e25c585f4f
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ if ( ! isset( $_GET['paged'] ) || $_GET['paged'] < 1 )
if ( isset($_GET['detached']) ) {
if ( isset($lost) ) {
if ( !empty($lost) ) {
$start = ( $_GET['paged'] - 1 ) * 50;
$page_links_total = ceil(count($lost) / 50);
$lost = implode(',', $lost);