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
 //******************************************************************************//
20
 //******************************************************************************//
21
 
21
 
22
 $Properties=array();
22
 $Properties=array();
23
+$_POST['type'] = $_POST['type'] + 1;
23
 $TypeID = (int)$_POST['type'];
24
 $TypeID = (int)$_POST['type'];
24
 $Type = $Categories[$TypeID-1];
25
 $Type = $Categories[$TypeID-1];
25
 $TorrentID = (int)$_POST['torrentid'];
26
 $TorrentID = (int)$_POST['torrentid'];

Loading…
Cancel
Save