Browse Source

fix edit type bug

spaghetti 9 years ago
parent
commit
2e283fa9f6
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      sections/torrents/takeedit.php

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

@@ -20,6 +20,7 @@ $Validate = new VALIDATE;
20 20
 //******************************************************************************//
21 21
 
22 22
 $Properties=array();
23
+$_POST['type'] = $_POST['type'] + 1;
23 24
 $TypeID = (int)$_POST['type'];
24 25
 $Type = $Categories[$TypeID-1];
25 26
 $TorrentID = (int)$_POST['torrentid'];

Loading…
Cancel
Save