Browse Source

Fix censoring stuff

spaghetti 9 years ago
parent
commit
668f290594
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      sections/torrents/takeedit.php

+ 3
- 1
sections/torrents/takeedit.php View File

@@ -48,7 +48,7 @@ $Properties['AudioFormat'] = $_POST['audioformat'];
48 48
 $Properties['Subbing'] = $_POST['sub'];
49 49
 $Properties['Language'] = $_POST['lang'];
50 50
 $Properties['Subber']= $_POST['subber'];
51
-$Properties['Censored'] = (isset($_POST['censored'])) ? $_POST['censored'] : 0;
51
+$Properties['Censored'] = (isset($_POST['censored'])) ? 1 : 0;
52 52
 $Properties['Archive'] = (isset($_POST['archive']) && $_POST['archive'] != '---') ? $_POST['archive'] : '';
53 53
 
54 54
 if ($_POST['album_desc']) {
@@ -239,6 +239,8 @@ foreach ($Properties as $Key => $Value) {
239 239
 	}
240 240
 }
241 241
 
242
+$T['Censored'] = $Properties['Censored'];
243
+
242 244
 
243 245
 //******************************************************************************//
244 246
 //--------------- Start database stuff -----------------------------------------//

Loading…
Cancel
Save