Browse Source

fix add format bug

spaghetti 9 years ago
parent
commit
0b6e63ec70

+ 2
- 2
classes/torrent_form.class.php View File

97
 <?    if (!$this->NewTorrent) { ?>
97
 <?    if (!$this->NewTorrent) { ?>
98
       <input type="hidden" name="action" value="takeedit" />
98
       <input type="hidden" name="action" value="takeedit" />
99
       <input type="hidden" name="torrentid" value="<?=display_str($this->TorrentID)?>" />
99
       <input type="hidden" name="torrentid" value="<?=display_str($this->TorrentID)?>" />
100
-      <input type="hidden" name="type" value="<?=display_str($this->Torrent['CategoryID'])?>" />
100
+      <input type="hidden" name="type" value="<?=display_str($this->Torrent['CategoryID']-1)?>" />
101
 <?
101
 <?
102
     } else {
102
     } else {
103
       if ($this->Torrent && $this->Torrent['GroupID']) {
103
       if ($this->Torrent && $this->Torrent['GroupID']) {
104
 ?>
104
 ?>
105
       <input type="hidden" name="groupid" value="<?=display_str($this->Torrent['GroupID'])?>" />
105
       <input type="hidden" name="groupid" value="<?=display_str($this->Torrent['GroupID'])?>" />
106
-      <input type="hidden" name="type" value="<?=display_str($this->Torrent['CategoryID'])?>" />
106
+      <input type="hidden" name="type" value="<?=display_str($this->Torrent['CategoryID']-1)?>" />
107
 <?
107
 <?
108
       }
108
       }
109
       if ($this->Torrent && $this->Torrent['RequestID']) {
109
       if ($this->Torrent && $this->Torrent['RequestID']) {

+ 0
- 0
static/common/badges/dickbutt.png View File


+ 0
- 0
static/functions/chart.js View File


+ 0
- 0
static/opensearch.xml View File


+ 0
- 0
static/styles/beluga-oppai/fonts/sourcesanspro-ln.woff2 View File


+ 0
- 0
static/styles/beluga-oppai/fonts/sourcesanspro-lne.woff2 View File


+ 0
- 0
static/styles/beluga-oppai/fonts/sourcesanspro-vm.woff2 View File


+ 0
- 0
static/styles/beluga-oppai/images/search.png View File


+ 0
- 0
static/styles/beluga-oppai/style.css View File


+ 0
- 0
static/styles/beluga/fonts/sourcesanspro-ln.woff2 View File


+ 0
- 0
static/styles/beluga/fonts/sourcesanspro-lne.woff2 View File


+ 0
- 0
static/styles/beluga/fonts/sourcesanspro-vm.woff2 View File


+ 0
- 0
static/styles/beluga/images/search.png View File


+ 0
- 0
static/styles/beluga/style.css View File


+ 0
- 0
static/stylespreview/full_beluga.png View File


+ 0
- 0
static/stylespreview/full_oppai.png View File


+ 0
- 0
static/stylespreview/thumb_beluga.png View File


+ 0
- 0
static/stylespreview/thumb_oppai.png View File


Loading…
Cancel
Save