Skip to content

Commit

Permalink
self:: This is PHP, not Java...
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Oct 10, 2020
1 parent 7a0756c commit 7ee962e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Horde/ActiveSync/Message/Recurrence.php
Expand Up @@ -132,7 +132,7 @@ public function __construct(array $options = array())
protected function _validateDecodedValues()
{
// Ensure the DOW setting is at least greater than 0.
if ($this->_properties['type'] == TYPE_WEEKLY && $this->_properties['dayofweek'] < 1) {
if ($this->_properties['type'] == self::TYPE_WEEKLY && $this->_properties['dayofweek'] < 1) {
return false;
}

Expand All @@ -150,7 +150,7 @@ protected function _validateDecodedValues()
protected function _preEncodeValidation()
{
// Ensure the DOW setting is at least greater than 0.
if ($this->_properties['type'] == TYPE_WEEKLY && $this->_properties['dayofweek'] < 1) {
if ($this->_properties['type'] == self::TYPE_WEEKLY && $this->_properties['dayofweek'] < 1) {
return false;
}

Expand Down

0 comments on commit 7ee962e

Please sign in to comment.