修改bug

master
ELF 5 years ago
parent d0e700d2e8
commit 56a97f7eef

@ -304,7 +304,7 @@ class GameController extends ThinkController
public function edit($id = null)
{
if (IS_POST) {
if ($_POST['game_score'] <0 || $_POST['game_score'] > 5) {
if ($_POST['game_score'] < 0 || $_POST['game_score'] > 5) {
$this->error('游戏评分只能为0-5之间的数字');
exit;
}

@ -431,13 +431,13 @@
<td class="r" >
<span class="form_radio table_btn">
<label>
<input type="checkbox" class="inp_radio" value="1" name="download_ways[]"> 至尊下载
<input type="checkbox" class="inp_radio" value="4" name="download_ways[]"> 至尊下载
</label>
<label>
<input type="checkbox" class="inp_radio" value="2" name="download_ways[]"> beta版下载
</label>
<label>
<input type="checkbox" class="inp_radio" value="4" name="download_ways[]"> 普通下载
<input type="checkbox" class="inp_radio" value="1" name="download_ways[]"> 普通下载
</label>
</span>
</td>

Loading…
Cancel
Save