What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

Fixed Possible to register multiple times for same tournament

Ecko

New Member
Two users of mine have reported it's possible to register multiple times for the same tournament:

2bfc8da95120d09a52f2e140388c1afd.png


Code:
[12:55:52] [root] [~]$ mysql -e "SELECT custom_value FROM fightnite_xf.xfa_tourn_participant WHERE tournament_id = '4';"
+-----------------+
| custom_value    |
+-----------------+
| BraidedWeb74737 |
| iiShibui        |
| iiShibui        |
+-----------------+

The participant_id is different on those last two entries, but it does show them there twice. Looks like if you just append /register to the tournament URL, it will register you again.
 
Hum, there is a check normally to ensure that doesn't happen.

Can you give me the whole values from the participant table for your query instead of just custom_value field please ?
 
Sure thing
Code:
[19:23:05] [root] [~]$ mysql -e "SELECT * FROM fightnite_xf.xfa_tourn_participant WHERE tournament_id = '4';"
+----------------+---------------+--------------+------------+-----------------+------------+
| participant_id | tournament_id | content_type | content_id | custom_value    | checked_in |
+----------------+---------------+--------------+------------+-----------------+------------+
|              6 |             4 | solo         |         24 | BraidedWeb74737 |          0 |
|             17 |             4 | solo         |         36 | iiShibui        |          0 |
|             18 |             4 | solo         |         36 | iiShibui        |          0 |
+----------------+---------------+--------------+------------+-----------------+------------+

I am only able to reproduce if I append /register again after in address bar, otherwise it shows me 'Unregister' button like normal. If I do register twice, I get the option to Unregister twice as well
 

From bespoke add-on development to complex integrations and specialized enhancements, we offer a range of XenForo development services designed to help your community thrive.

Start discussing your needs
Back
Top
Cart