|
@@ -72,7 +72,7 @@ function UnapprovedPosts()
|
|
|
$approve_query = ' AND m.id_board IN (' . implode(',', $approve_boards) . ')';
|
|
|
// Nada, zip, etc...
|
|
|
else
|
|
|
- $approve_query = ' AND 0';
|
|
|
+ $approve_query = ' AND 1=0';
|
|
|
|
|
|
// We also need to know where we can delete topics and/or replies to.
|
|
|
if ($context['current_view'] == 'topics')
|
|
@@ -322,7 +322,7 @@ function UnapprovedAttachments()
|
|
|
elseif (!empty($approve_boards))
|
|
|
$approve_query = ' AND m.id_board IN (' . implode(',', $approve_boards) . ')';
|
|
|
else
|
|
|
- $approve_query = ' AND 0';
|
|
|
+ $approve_query = ' AND 1=0';
|
|
|
|
|
|
// Get together the array of things to act on, if any.
|
|
|
$attachments = array();
|