정적 분석 결과 수정. 배열 선언 문제.

This commit is contained in:
2018-04-06 20:32:57 +09:00
parent ffc0fc0c6f
commit d0e7358f68
16 changed files with 191 additions and 329 deletions
+8 -1
View File
@@ -62,7 +62,7 @@ function registerAuction() {
}
for($i=7; $i <= 26; $i++) {
if($occupied[$i] == 0) {
$item[count($item)] = $i;
$item[] = $i;
}
}
$it = $item[rand() % count($item)];
@@ -144,6 +144,13 @@ function processAuction() {
$db = DB::db();
$connect=$db->get();
$trader = [];
$traderLog = [];
$auctionLog = [];
$bidderLog = [];
$alllog = [];
$history = [];
$date = date("Y-m-d H:i:s");
$query = "select year,month from game limit 1";