fix nextOccurrence() loop

master
Tanguy Pruvot 2010-10-29 13:36:34 +02:00
rodzic bd10ff1266
commit 5b81d5e906
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -97,7 +97,8 @@ class SG_iCal_Freq {
* @return int
*/
public function nextOccurrence( $offset ) {
return $this->findNext( $this->previousOccurrence( $offset) );
//return $this->findNext( $this->previousOccurrence( $offset) );
return $this->findNext($offset);
}
/**