projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dba7f3
)
Fix logic.
author
Jan Schneider
<jan@horde.org>
Thu, 14 Oct 2010 14:12:41 +0000
(16:12 +0200)
committer
Jan Schneider
<jan@horde.org>
Thu, 14 Oct 2010 14:12:41 +0000
(16:12 +0200)
framework/Date/lib/Horde/Date/Recurrence.php
patch
|
blob
|
history
diff --git
a/framework/Date/lib/Horde/Date/Recurrence.php
b/framework/Date/lib/Horde/Date/Recurrence.php
index
d5bca49
..
5daa0f4
100644
(file)
--- a/
framework/Date/lib/Horde/Date/Recurrence.php
+++ b/
framework/Date/lib/Horde/Date/Recurrence.php
@@
-945,7
+945,7
@@
class Horde_Date_Recurrence
$remainder = substr($remainder, 1);
}
if (!empty($remainder)) {
- if (strpos($remainder, '#')
!== false
) {
+ if (strpos($remainder, '#')
=== 0
) {
$this->setRecurCount(substr($remainder, 1));
} else {
list($year, $month, $mday) = sscanf($remainder, '%04d%02d%02d');