35e19e581a5e61f13d37e536710604283b1f0ebf did not adjust `ModerationQueueReportManager::hasPendingReport()` to consider the new moderation queue statuses `ModerationQueue::STATUS_REJECTED` and `ModerationQueue::STATUS_CONFIRMED` so that once reported content could not be reported again.
FROM wcf".WCF_N."_moderation_queue
WHERE objectTypeID = ?
AND objectID = ?
- AND status <> ?";
+ AND status IN (?, ?)";
$statement = WCF::getDB()->prepareStatement($sql);
$statement->execute(array(
$objectTypeID,
$objectID,
- ModerationQueue::STATUS_DONE
+ ModerationQueue::STATUS_OUTSTANDING,
+ ModerationQueue::STATUS_PROCESSING
));
return $statement->fetchColumn() > 0;