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:
parent
fd1b5f1e4a
commit
3b65a42c5f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue