Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
WCMS
uw_fdsu_theme_resp
Commits
9365405c
Commit
9365405c
authored
Jul 12, 2021
by
Igor Biki
Browse files
ISTWCMS-4943: Update theme function to fix tests.
parent
80a0318b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
uw_fdsu_theme_resp.theme
uw_fdsu_theme_resp.theme
+1
-1
No files found.
uw_fdsu_theme_resp.theme
View file @
9365405c
...
...
@@ -400,7 +400,7 @@ function uw_fdsu_theme_resp_preprocess_block(&$variables) {
// If node is not object by this point, probably on
// a revision page where node is an integer, so load
// the node.
if
(
!
is_object
(
$node
))
{
if
(
$node
&&
!
is_object
(
$node
))
{
$node
=
Node
::
load
(
$node
);
}
...
...
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