summaryrefslogtreecommitdiff
path: root/protected/components/DateRangeValidator.php
diff options
context:
space:
mode:
authorPatrick Seeger <pseeger@ccwn.org>2012-05-20 16:58:26 +0200
committerPatrick Seeger <pseeger@ccwn.org>2012-05-20 16:58:26 +0200
commit4f959ffc80e64dc9ee8383826a546723d97305d9 (patch)
tree3a0704c0e3a9f44746739ccffa0d64acc5ab172d /protected/components/DateRangeValidator.php
parentacec2b5dc35302147f9a9c73d837dce2f3f9958e (diff)
parent9aad228e1af661b9b39df83700d27e71697dc66f (diff)
Merge branch 'master' of ssh://proxy.ccwn.org:9044/home/ccwn/git-repos/admin.astaf.de
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;