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

Loading…
Cancel
Save