X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2Findex_wr.php;h=8e894fd7c3bf17768bb9ba7c75f2533c9fa0f70b;hb=525cfe7d868bfaefdde9f769f52a50bcb6f1e9e9;hp=e755965e45cac87dff689ede86791ef5c1258c9b;hpb=2e7430e0fc225c96177e7886071960d093ffd89e;p=brisk.git diff --git a/web/briskin5/index_wr.php b/web/briskin5/index_wr.php index e755965..8e894fd 100644 --- a/web/briskin5/index_wr.php +++ b/web/briskin5/index_wr.php @@ -47,7 +47,8 @@ log_load("bin5/index_wr.php"); */ 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));