버그 수정 시도2
This commit is contained in:
@@ -92,10 +92,11 @@ class General implements iAction{
|
|||||||
$this->raw = $raw;
|
$this->raw = $raw;
|
||||||
$this->rawCity = $city;
|
$this->rawCity = $city;
|
||||||
|
|
||||||
|
$this->resultTurn = new LastTurn();
|
||||||
if(key_exists('last_turn', $this->raw)){
|
if(key_exists('last_turn', $this->raw)){
|
||||||
$this->lastTurn = LastTurn::fromJson($this->raw['last_turn']);
|
$this->lastTurn = LastTurn::fromJson($this->raw['last_turn']);
|
||||||
|
$this->resultTurn = $this->lastTurn->duplicate();
|
||||||
}
|
}
|
||||||
$this->resultTurn = new LastTurn();
|
|
||||||
|
|
||||||
if($year !== null && $month !== null){
|
if($year !== null && $month !== null){
|
||||||
$this->initLogger($year, $month);
|
$this->initLogger($year, $month);
|
||||||
|
|||||||
Reference in New Issue
Block a user