Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WCMS
uw_ct_event
Commits
2c0ba5e9
Commit
2c0ba5e9
authored
Nov 23, 2018
by
l26yan
Browse files
RT#927424 Fix undefined offset issue
parent
76a1baf8
Changes
1
Show whitespace changes
Inline
Side-by-side
uw_ct_event.module
View file @
2c0ba5e9
...
...
@@ -1139,7 +1139,7 @@ function uw_ct_event_preprocess_html(&$variables) {
$variables
[
'page'
][
'#children'
]
=
str_replace
(
$search
,
$replace
,
$variables
[
'page'
][
'#children'
]);
}
if
(
isset
(
$path
[
0
])
&&
$path
[
0
]
==
'events'
&&
$path
[
1
]
!==
'calendar'
)
{
if
(
isset
(
$path
[
0
])
&&
$path
[
0
]
==
'events'
&&
isset
(
$path
[
1
])
&&
$path
[
1
]
!==
'calendar'
)
{
$type_tid
=
uw_ct_event_get_tid_from_machine_name
(
'uw_event_type'
);
$using_type_tid
=
uw_ct_event_get_using_taxonomy_term
(
'uw_event_type'
);
...
...
Write
Preview
Supports
Markdown
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