![]() |
[BUG] minor bugs on mod_arcade.php
It seems that some variables like $mid_o in mod_arcade.php needs to be intval()ed before used in queries. Otherwise it sometimes have a blank value and produce DB errors like:
mySQL query error: UPDATE tournament_players_statut SET statut='3' WHERE tid='286' AND mid= Changing the lines to $check=$DB->query("SELECT mid FROM ibf_tournament_players WHERE tid=".$tid." AND faceoff=".$nextfaceoff." AND rung=".($rung-1)." AND mid<>".intval($mid_o)); fixes the issue. Likewise the line: PHP Code:
PHP Code:
:) |
All times are GMT. The time now is 06:39 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|