버그 수정 시도2
This commit is contained in:
1 parent
bd66871b0e
commit
b9664dc710
1 file changed
+2
-1
@@ -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