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:
parent
96a2e11b58
commit
e25c585f4f
@ -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
Block a user