Date의 비교 대상 lhs, rhs가 바뀐 버그 수정
This commit is contained in:
@@ -50,13 +50,15 @@ class Date extends \sammo\Event\Condition{
|
|||||||
}
|
}
|
||||||
|
|
||||||
$lhs = [
|
$lhs = [
|
||||||
$this->year,
|
|
||||||
$this->month
|
|
||||||
];
|
|
||||||
$rhs = [
|
|
||||||
$this->year!==null?(int)$env['year']:null,
|
$this->year!==null?(int)$env['year']:null,
|
||||||
$this->month!==null?(int)$env['month']:null
|
$this->month!==null?(int)$env['month']:null
|
||||||
];
|
];
|
||||||
|
|
||||||
|
$rhs = [
|
||||||
|
$this->year,
|
||||||
|
$this->month
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
$value = false;
|
$value = false;
|
||||||
switch($this->cmp){
|
switch($this->cmp){
|
||||||
|
|||||||
Reference in New Issue
Block a user