버그 수정
This commit is contained in:
@@ -394,7 +394,8 @@ for ($i=0; $i < 16; $i++) {
|
|||||||
|
|
||||||
echo"
|
echo"
|
||||||
</tr>";
|
</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);
|
$globalBetTotal = array_sum($globalBet);
|
||||||
$admin = $gameStor->getValues(['tournament', 'phase']);
|
$admin = $gameStor->getValues(['tournament', 'phase']);
|
||||||
$bet = [];
|
$bet = [];
|
||||||
|
|||||||
@@ -31,6 +31,9 @@ class che_수몰 extends Command\NationCommand{
|
|||||||
static public $reqArg = true;
|
static public $reqArg = true;
|
||||||
|
|
||||||
protected function argTest():bool{
|
protected function argTest():bool{
|
||||||
|
if($this->arg === null){
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if(!key_exists('destCityID', $this->arg)){
|
if(!key_exists('destCityID', $this->arg)){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user