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
 $Properties['Subbing'] = $_POST['sub'];
48
 $Properties['Subbing'] = $_POST['sub'];
49
 $Properties['Language'] = $_POST['lang'];
49
 $Properties['Language'] = $_POST['lang'];
50
 $Properties['Subber']= $_POST['subber'];
50
 $Properties['Subber']= $_POST['subber'];
51
-$Properties['Censored'] = (isset($_POST['censored'])) ? $_POST['censored'] : 0;
51
+$Properties['Censored'] = (isset($_POST['censored'])) ? 1 : 0;
52
 $Properties['Archive'] = (isset($_POST['archive']) && $_POST['archive'] != '---') ? $_POST['archive'] : '';
52
 $Properties['Archive'] = (isset($_POST['archive']) && $_POST['archive'] != '---') ? $_POST['archive'] : '';
53
 
53
 
54
 if ($_POST['album_desc']) {
54
 if ($_POST['album_desc']) {
239
 	}
239
 	}
240
 }
240
 }
241
 
241
 
242
+$T['Censored'] = $Properties['Censored'];
243
+
242
 
244
 
243
 //******************************************************************************//
245
 //******************************************************************************//
244
 //--------------- Start database stuff -----------------------------------------//
246
 //--------------- Start database stuff -----------------------------------------//

Loading…
Cancel
Save