projects
/
WP-Plugins
/
glm-member-db-events.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
096cdcd
)
Update the time.ly import again
author
Steve Sutton
<steve@gaslightmedia.com>
Thu, 16 Jun 2016 18:38:05 +0000
(14:38 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Thu, 16 Jun 2016 18:38:05 +0000
(14:38 -0400)
Need to initalize the $stamp variable for each new event.
models/admin/management/events.php
patch
|
blob
|
history
diff --git
a/models/admin/management/events.php
b/models/admin/management/events.php
index
d22cc99
..
0916eb7
100644
(file)
--- a/
models/admin/management/events.php
+++ b/
models/admin/management/events.php
@@
-1447,8
+1447,9
@@
class GlmMembersAdmin_management_events extends GlmDataEventsManagement
}
}
if(!empty($custom_times)){
+ $stamp = array();
date_default_timezone_set('UTC');
- $serialized_custom_times = serialize($custom_times);
+
//
$serialized_custom_times = serialize($custom_times);
foreach($custom_times as $custom){
$convert = date('U',strtotime($custom));
$stamp[] = date('Y-m-d', $convert);