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