*/
log_wr('COMM: '.$mesg);
-if ($table_idx < 0 || $table_idx >= TABLE_N)
+$table_idx = (int)$table_idx;
+if ($table_idx < 0 || $table_idx >= TABLES_N)
exit;
log_wr(0, 'bin::index_wr.php: COMM: '.xcapemesg($mesg));
for ($i = 0 ; $i < BIN5_PLAYERS_N ; $i++) {
$plist .= '|'.xcapelt($ucodes[$i]);
}
- log_legal($curtime, $user, "STAT:BRISKIN5:FINISH_GAME", $plist);
+ log_legal($curtime, 'xxx', $user, "STAT:BRISKIN5:FINISH_GAME", $plist);
if ($user->table_orig < TABLES_AUTH_N) {
require_once("../Obj/dbase_".$G_dbasetype.".phh");