From 0118c25c17a6b5be300026c24f9723c8207a6d1a Mon Sep 17 00:00:00 2001 From: kitan1982 Date: Tue, 22 Mar 2016 16:47:48 +0100 Subject: [PATCH] Fixes workspace layout --- Resources/views/Workspace/layout.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/views/Workspace/layout.html.twig b/Resources/views/Workspace/layout.html.twig index ca024ff29..8a75a18ca 100644 --- a/Resources/views/Workspace/layout.html.twig +++ b/Resources/views/Workspace/layout.html.twig @@ -6,7 +6,7 @@ {{ workspace.getName() }} {% else %} {% if _resource is defined %} - {% if _resource.getWorkspace() %} + {% if _resource.getWorkspace() is defined %} {{ _resource.getWorkspace.getName() }} - {% endif %} {{ _resource.getResourceNode().getName() | striptags | raw }}