summaryrefslogtreecommitdiff
path: root/protected/components/DateRangeValidator.php
diff options
context:
space:
mode:
Diffstat (limited to 'protected/components/DateRangeValidator.php')
-rw-r--r--protected/components/DateRangeValidator.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/protected/components/DateRangeValidator.php b/protected/components/DateRangeValidator.php
index 8b963a8..529f185 100644
--- a/protected/components/DateRangeValidator.php
+++ b/protected/components/DateRangeValidator.php
@@ -10,10 +10,10 @@ class DateRangeValidator extends DateCompareValidator {
$object->clearErrors($attribute);
}
$this->compareValue = $this->minDate;
- $this->operator = '>';
+ $this->operator = '>=';
parent::validateAttribute($object, $attribute);
$this->compareValue = $this->maxDate;
- $this->operator = '<';
+ $this->operator = '<=';
parent::validateAttribute($object, $attribute);
$addRangeError = false;