deStrO / eBot-CSGO-Web

The eBot CS:GO panel
http://www.esport-tools.net/ebot
95 stars 71 forks source link

Multiple match action-button index issue. #103

Closed Xioden closed 1 year ago

Xioden commented 5 years ago

Hi Guys,

I was running into an issue when multiple matches were in progress all of the start/stop/etc. buttons would all act as buttons for the first match.

Over in matchsInProgressSuccess.php on line 266 there is a loop using $index, as well as 2 other loops within that one at 313 and 338 that also using $index causing this issue.

Changing $index on 266 and at 414 to a different name resolves this.