The Arcive of vBulletin Modifications Site. |
|
[BUG] minor bugs on mod_arcade.php Details »»
|
|||||||||||||||||||||||||
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:
![]() Show Your Support
|
|||||||||||||||||||||||||
![]() |
|
|