Browse Source

Coalesce names of different languages in unseeded notification

spaghetti 7 years ago
parent
commit
68913ab4c1
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      sections/schedule/weekly/deletion_warning.php

+ 1
- 1
sections/schedule/weekly/deletion_warning.php View File

@@ -4,7 +4,7 @@ $DB->query("
4 4
   SELECT
5 5
     t.ID,
6 6
     t.GroupID,
7
-    tg.Name,
7
+    COALESCE(NULLIF(tg.Name,''), NULLIF(tg.NameRJ,''), tg.NameJP) AS Name,
8 8
     t.UserID
9 9
   FROM torrents AS t
10 10
     JOIN torrents_group AS tg ON tg.ID = t.GroupID

Loading…
Cancel
Save