summaryrefslogtreecommitdiff
path: root/ext/date/php_date.h
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2010-08-30 15:32:09 +0000
committerDerick Rethans <derick@php.net>2010-08-30 15:32:09 +0000
commitbd184cc5720939be40a152140f359b51475f0b70 (patch)
treefa748359bebf994bb1a5e5b2d584f9f5d9e499ff /ext/date/php_date.h
parenta7057e4e49729f65f1ff3a0bd926d5c1bb9fa7bb (diff)
downloadphp-git-bd184cc5720939be40a152140f359b51475f0b70.tar.gz
- Fixed bug #52668 (Iterating over a dateperiod twice is broken).
Diffstat (limited to 'ext/date/php_date.h')
-rw-r--r--ext/date/php_date.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/date/php_date.h b/ext/date/php_date.h
index dc14790f0f..7f3f7fa4ef 100644
--- a/ext/date/php_date.h
+++ b/ext/date/php_date.h
@@ -139,6 +139,7 @@ struct _php_interval_obj {
struct _php_period_obj {
zend_object std;
timelib_time *start;
+ timelib_time *current;
timelib_time *end;
timelib_rel_time *interval;
int recurrences;