@@ 776-778 (lines=3) @@ | ||
773 | if ( !isset($this->_part['FREQ']) ) { |
|
774 | dbg_error_log( "ERROR", " RRULE MUST have FREQ=value (%s)", $rrule ); |
|
775 | } |
|
776 | if ( isset($this->_part['COUNT']) && isset($this->_part['UNTIL']) ) { |
|
777 | dbg_error_log( "ERROR", " RRULE MUST NOT have both COUNT=value and UNTIL=value (%s)", $rrule ); |
|
778 | } |
|
779 | if ( isset($this->_part['COUNT']) && intval($this->_part['COUNT']) < 1 ) { |
|
780 | dbg_error_log( "ERROR", " RRULE MUST NOT have both COUNT=value and UNTIL=value (%s)", $rrule ); |
|
781 | } |
|
@@ 779-781 (lines=3) @@ | ||
776 | if ( isset($this->_part['COUNT']) && isset($this->_part['UNTIL']) ) { |
|
777 | dbg_error_log( "ERROR", " RRULE MUST NOT have both COUNT=value and UNTIL=value (%s)", $rrule ); |
|
778 | } |
|
779 | if ( isset($this->_part['COUNT']) && intval($this->_part['COUNT']) < 1 ) { |
|
780 | dbg_error_log( "ERROR", " RRULE MUST NOT have both COUNT=value and UNTIL=value (%s)", $rrule ); |
|
781 | } |
|
782 | if ( !preg_match( '/(YEAR|MONTH|WEEK|DAI)LY/', $this->_part['FREQ']) ) { |
|
783 | dbg_error_log( "ERROR", " RRULE Only FREQ=(YEARLY|MONTHLY|WEEKLY|DAILY) are supported at present (%s)", $rrule ); |
|
784 | } |