diff --git a/uw_fdsu_theme_resp.theme b/uw_fdsu_theme_resp.theme index 95b4aa85ce393e90fc2c9de7589d4e5b09337a12..bbfca39ffdf629b14c492ef2c8653dcc590a0cef 100644 --- a/uw_fdsu_theme_resp.theme +++ b/uw_fdsu_theme_resp.theme @@ -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); }