Browse Source

Default avatar and upload handler

pjc 5 years ago
parent
commit
17536c5e9c
2 changed files with 1 additions and 4 deletions
  1. 1
    4
      sections/upload/upload_handle.php
  2. BIN
      static/common/avatars/default.png

+ 1
- 4
sections/upload/upload_handle.php View File

@@ -73,7 +73,7 @@ if (isset($_POST['release'])) {
73 73
 }
74 74
 
75 75
 $Properties['GroupDescription'] = trim($_POST['album_desc']);
76
-#$Properties['TorrentDescription'] = $_POST['release_desc'];
76
+$Properties['TorrentDescription'] = $_POST['release_desc'];
77 77
 #$Properties['MediaInfo'] = $_POST['mediainfo'];
78 78
 $Properties['Screenshots'] = isset($_POST['screenshots']) ? $_POST['screenshots'] : "";
79 79
 
@@ -514,16 +514,13 @@ if (($Type == 'Movies' || $Type == 'Anime') && ($T['Container'] == 'ISO' || $T['
514 514
 $DB->query("
515 515
   INSERT INTO torrents
516 516
     (GroupID, UserID, Media, Container, Codec, Resolution,
517
-    AudioFormat, Subbing, Language, Subber, Censored,
518 517
     Anonymous, Archive, info_hash, FileCount, FileList, FilePath, Size, Time,
519 518
     Description, FreeTorrent, FreeLeechType)
520 519
   VALUES
521 520
     ( ?, ?, ?, ?, ?, ?,
522
-      ?, ?, ?, ?, ?,
523 521
       ?, ?, ?, ?, ?, ?, ?, NOW(),
524 522
       ?, ?, ? )",
525 523
   $GroupID, $LoggedUser['ID'], $T['Media'], $T['Container'], $T['Codec'], $T['Resolution'],
526
-  $T['AudioFormat'], $T['Subbing'], $T['Language'], $T['Subber'], $T['Censored'],
527 524
   $T['Anonymous'], $T['Archive'], $InfoHash, $NumFiles, $FileString, $FilePath, $TotalSize,
528 525
   $T['TorrentDescription'], $T['FreeTorrent'], $T['FreeLeechType']);
529 526
 

BIN
static/common/avatars/default.png View File


Loading…
Cancel
Save