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

Loading…
Cancel
Save