Fix SQL error when scanning for lost attachments

git-svn-id: http://svn.automattic.com/wordpress/trunk@9595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-11-10 18:34:46 +00:00
parent fd1b5f1e4a
commit 3b65a42c5f
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);