Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
date_ical
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
drupal.org
date_ical
Commits
f4e0b600
Commit
f4e0b600
authored
Dec 13, 2013
by
Reinette
Committed by
Robert Rollins
Dec 13, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #2156331: Fixed UIDs generated on load-balanced servers.
parent
a1724355
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
includes/date_ical_plugin_row_ical_entity.inc
includes/date_ical_plugin_row_ical_entity.inc
+2
-1
includes/date_ical_plugin_row_ical_fields.inc
includes/date_ical_plugin_row_ical_fields.inc
+2
-1
No files found.
includes/date_ical_plugin_row_ical_entity.inc
View file @
f4e0b600
...
...
@@ -196,7 +196,8 @@ class date_ical_plugin_row_ical_entity extends views_plugin_row {
return
;
}
$date_field
=
$items
[
$delta
];
$domain
=
check_plain
(
$_SERVER
[
'SERVER_NAME'
]);
global
$base_url
;
$domain
=
preg_replace
(
'#^https?://#'
,
''
,
$base_url
);
$entity
->
date_id
[]
=
"calendar.
$id
.
$field_name
.
$delta
@
$domain
"
;
if
(
!
empty
(
$date_field
[
'value'
]))
{
...
...
includes/date_ical_plugin_row_ical_fields.inc
View file @
f4e0b600
...
...
@@ -190,7 +190,8 @@ class date_ical_plugin_row_ical_fields extends views_plugin_row {
}
}
$entity_id
=
$row
->
{
$this
->
view
->
base_field
};
$domain
=
check_plain
(
$_SERVER
[
'SERVER_NAME'
]);
global
$base_url
;
$domain
=
preg_replace
(
'#^https?://#'
,
''
,
$base_url
);
$event
[
'uid'
]
=
"calendar.
$entity_id
.
$date_field_name
.
$date_field_delta
@
$domain
"
;
// Because of the way that Date implements repeating dates, we're going to
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment