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
0ec0fc57
Commit
0ec0fc57
authored
Sep 20, 2013
by
Robert Rollins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue [#2094085]: PHP 5.5 doesn't let you concatinate onto non-set values.
parent
e11ac2e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
includes/date_ical_plugin_style_ical_feed.inc
includes/date_ical_plugin_style_ical_feed.inc
+4
-0
No files found.
includes/date_ical_plugin_style_ical_feed.inc
View file @
0ec0fc57
...
...
@@ -34,6 +34,10 @@ class date_ical_plugin_style_ical_feed extends views_plugin_style {
// Render the feed icon and header tag (except during a View Preview).
if
(
empty
(
$this
->
view
->
live_preview
))
{
$tooltip
=
t
(
'Add to My Calendar'
);
if
(
!
isset
(
$this
->
view
->
feed_icon
))
{
// In PHP 5.5, you're no longer allowed to concatinate onto a not-yet-existent property.
$this
->
view
->
feed_icon
=
''
;
}
$this
->
view
->
feed_icon
.
=
theme
(
'date_ical_icon'
,
array
(
'url'
=>
check_url
(
$url
),
'tooltip'
=>
$tooltip
,
'view'
=>
$this
->
view
));
drupal_add_html_head_link
(
array
(
'rel'
=>
'alternate'
,
...
...
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