@@ -410,22 +410,22 @@ |
||
| 410 | 410 | |
| 411 | 411 | for (; $i < $iMax; ++$i) { |
| 412 | 412 | switch ($string[$i]) { |
| 413 | - case '\\': |
|
| 414 | - ++$slashes; |
|
| 413 | + case '\\': |
|
| 414 | + ++$slashes; |
|
| 415 | 415 | |
| 416 | - break; |
|
| 416 | + break; |
|
| 417 | 417 | |
| 418 | - case '"': |
|
| 419 | - if ($slashes % 2 == 0) { |
|
| 420 | - $in_quote = !$in_quote; |
|
| 421 | - } |
|
| 422 | - // Fall through to default action below. |
|
| 418 | + case '"': |
|
| 419 | + if ($slashes % 2 == 0) { |
|
| 420 | + $in_quote = !$in_quote; |
|
| 421 | + } |
|
| 422 | + // Fall through to default action below. |
|
| 423 | 423 | |
| 424 | - // no break |
|
| 425 | - default: |
|
| 426 | - $slashes = 0; |
|
| 424 | + // no break |
|
| 425 | + default: |
|
| 426 | + $slashes = 0; |
|
| 427 | 427 | |
| 428 | - break; |
|
| 428 | + break; |
|
| 429 | 429 | } |
| 430 | 430 | } |
| 431 | 431 | |
@@ -764,7 +764,7 @@ |
||
| 764 | 764 | |
| 765 | 765 | // If the previous calculation gave us a start date different than the original start date, then we need to skip to the first occurrence |
| 766 | 766 | if (($rtype == IDC_RCEV_PAT_ORB_MONTHLY && ((int) $this->recur["monthday"]) < $curmonthday) || |
| 767 | - ($rtype == IDC_RCEV_PAT_ORB_YEARLY && ($selmonth != $curmonth || ($selmonth == $curmonth && ((int) $this->recur["monthday"]) < $curmonthday)))) { |
|
| 767 | + ($rtype == IDC_RCEV_PAT_ORB_YEARLY && ($selmonth != $curmonth || ($selmonth == $curmonth && ((int) $this->recur["monthday"]) < $curmonthday)))) { |
|
| 768 | 768 | if ($rtype == IDC_RCEV_PAT_ORB_YEARLY) { |
| 769 | 769 | if ($curmonth > $selmonth) {// go to next occurrence in 'everyn' months minus difference in first occurrence and original date |
| 770 | 770 | $count = $everyn - ($curmonth - $selmonth); |