Commit e6a9922f authored by Kevin Paxman's avatar Kevin Paxman
Browse files

Merge branch 'feature/ISTWCMS-4943-ibiki-tests-fix' into '1.0.x'

ISTWCMS-4943: Update theme function to fix tests.

See merge request !41
parents 80a0318b 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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment