버그 수정

This commit is contained in:
2020-04-23 01:11:40 +09:00
parent d856d12126
commit ffa37160a5
2 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -394,7 +394,8 @@ for ($i=0; $i < 16; $i++) {
echo"
</tr>";
$globalBet = array_splice($db->queryFirstList('SELECT * FROM betting WHERE general_id = 0'), -16);
$globalBet = $db->queryFirstList('SELECT * FROM betting WHERE general_id = 0')??[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ];
$globalBet = array_splice($globalBet, -16);
$globalBetTotal = array_sum($globalBet);
$admin = $gameStor->getValues(['tournament', 'phase']);
$bet = [];
+3
View File
@@ -31,6 +31,9 @@ class che_수몰 extends Command\NationCommand{
static public $reqArg = true;
protected function argTest():bool{
if($this->arg === null){
return false;
}
if(!key_exists('destCityID', $this->arg)){
return false;
}