pjc 5 years ago
parent
commit
b81853bb82
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      sections/upload/upload_handle.php

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

@@ -74,16 +74,14 @@ if (isset($_POST['release'])) {
74 74
 
75 75
 $Properties['GroupDescription'] = trim($_POST['album_desc']);
76 76
 $Properties['TorrentDescription'] = $_POST['release_desc'];
77
-$Properties['MediaInfo'] = '';
78
-#$Properties['MediaInfo'] = $_POST['mediainfo'];
77
+$Properties['MediaInfo'] = 'nil';
79 78
 $Properties['Screenshots'] = isset($_POST['screenshots']) ? $_POST['screenshots'] : "";
80 79
 
81 80
 if ($_POST['album_desc']) {
82 81
   $Properties['GroupDescription'] = trim($_POST['album_desc']);
83 82
 } elseif ($_POST['desc']) {
84 83
   $Properties['GroupDescription'] = trim($_POST['desc']);
85
-  $Properties['MediaInfo'] = '';
86
-  #$Properties['MediaInfo'] = $_POST['mediainfo'];
84
+  $Properties['MediaInfo'] = 'nil';
87 85
 }
88 86
 
89 87
 if (isset($_POST['groupid'])) $Properties['GroupID'] = $_POST['groupid'];

Loading…
Cancel
Save