ApocalypticMC / ebattles

Automatically exported from code.google.com/p/ebattles
0 stars 0 forks source link

Forfeit Loss points cannot be changed #102

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Setup a team ladder tournament
2. Enable forfeit 
3. Attempt to change forfeit loss points from 1 to 0

What is the expected output? It should save as 0 points (I don't want a team 
that loses by forfeit to get points)

What do you see instead? It reverts back to 1.

What version of the product are you using? 0.9.6 

Please provide any additional information below.

Original issue reported on code.google.com by TheMagic...@gmail.com on 2 Sep 2013 at 8:17

GoogleCodeExporter commented 8 years ago
Thanks for reporting that issue.
This is a bug, there is a typo in eventprocess.php line #249
$new_eventforfeitlosspoints = 
htmlspecialchars($_POST['$eventforfeitlosspoints']);
should be
$new_eventforfeitlosspoints = 
htmlspecialchars($_POST['eventforfeitlosspoints']);

I'll have this fixed in next release.

Original comment by frederic...@gmail.com on 4 Sep 2013 at 4:46