Browse Source

Fix query in masspm.php

spaghetti 8 years ago
parent
commit
5bfdb53672
1 changed files with 3 additions and 10 deletions
  1. 3
    10
      sections/torrents/masspm.php

+ 3
- 10
sections/torrents/masspm.php View File

@@ -8,22 +8,15 @@ $TorrentID = $_GET['torrentid'];
8 8
 $DB->query("
9 9
   SELECT
10 10
     t.Media,
11
-    t.Format,
12
-    t.Encoding AS Bitrate,
13
-    t.RemasterYear,
14
-    t.Remastered,
15
-    t.RemasterTitle,
16
-    t.Scene,
17 11
     t.FreeTorrent,
12
+    t.GroupID,
13
+    t.UserID,
18 14
     t.Description AS TorrentDescription,
19 15
     tg.CategoryID,
20 16
     tg.Name AS Title,
21 17
     tg.Year,
22 18
     tg.ArtistID,
23
-    ag.Name AS ArtistName,
24
-    t.GroupID,
25
-    t.UserID,
26
-    t.FreeTorrent
19
+    ag.Name AS ArtistName
27 20
   FROM torrents AS t
28 21
     JOIN torrents_group AS tg ON tg.ID=t.GroupID
29 22
     LEFT JOIN artists_group AS ag ON ag.ArtistID=tg.ArtistID

Loading…
Cancel
Save