Browse Source

Revert previous broken change

pjc 5 years ago
parent
commit
a2ae57d72a
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      classes/torrents.class.php

+ 3
- 3
classes/torrents.class.php View File

@@ -212,21 +212,21 @@ class Torrents
212 212
         $Torrent['PersonalFL'] = empty($Torrent['FreeTorrent']) && self::has_token($Torrent['ID']);
213 213
 
214 214
         # Snatched
215
-        if ($Torrent['IsSnatched'] === self::has_snatched($Torrent['ID'])) {
215
+        if ($Torrent['IsSnatched'] = self::has_snatched($Torrent['ID'])) {
216 216
             $Flags['IsSnatched'] = true;
217 217
         } else {
218 218
             $Flags['IsSnatched'] = false;
219 219
         }
220 220
 
221 221
         # Seeding
222
-        if ($Torrent['IsSeeding'] === self::is_seeding($Torrent['ID'])) {
222
+        if ($Torrent['IsSeeding'] = self::is_seeding($Torrent['ID'])) {
223 223
             $Flags['IsSeeding'] = true;
224 224
         } else {
225 225
             $Flags['IsSeeding'] = false;
226 226
         }
227 227
 
228 228
         # Leeching
229
-        if ($Torrent['IsLeeching'] === self::is_leeching($Torrent['ID'])) {
229
+        if ($Torrent['IsLeeching'] = self::is_leeching($Torrent['ID'])) {
230 230
             $Flags['IsLeeching'] = true;
231 231
         } else {
232 232
             $Flags['IsLeeching'] = false;

Loading…
Cancel
Save