diff --git a/app/Repositories/TorrentRepository.php b/app/Repositories/TorrentRepository.php index a0e1498f..f10edc6a 100644 --- a/app/Repositories/TorrentRepository.php +++ b/app/Repositories/TorrentRepository.php @@ -492,6 +492,8 @@ class TorrentRepository extends BaseRepository $torrentOperationLog['action_type'] = TorrentOperationLog::ACTION_TYPE_APPROVAL_DENY; } } elseif ($params['approval_status'] == Torrent::APPROVAL_STATUS_NONE) { + $torrentUpdate['banned'] = 'no'; + $torrentUpdate['visible'] = 'yes'; if ($torrent->approval_status != $params['approval_status']) { $torrentOperationLog['action_type'] = TorrentOperationLog::ACTION_TYPE_APPROVAL_NONE; } diff --git a/include/constants.php b/include/constants.php index 902eea38..14f62e18 100644 --- a/include/constants.php +++ b/include/constants.php @@ -1,6 +1,6 @@