From b4145af8ede0df3adb46b63e3221db4b908b09c0 Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Thu, 26 Jul 2012 20:57:11 +0200 Subject: [PATCH] Update template --- templates/web/prod/actions/publish/publish.html.twig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/web/prod/actions/publish/publish.html.twig b/templates/web/prod/actions/publish/publish.html.twig index 2a4a50b7de..b504249c3e 100644 --- a/templates/web/prod/actions/publish/publish.html.twig +++ b/templates/web/prod/actions/publish/publish.html.twig @@ -29,15 +29,15 @@
- +
{% set title = '' %} {% set desc = '' %} - {% if publishing.is_basket() %} - {% set title = publishing.get_original_basket().getName() %} - {% set desc = publishing.get_original_basket().getDescription() %} + {% if publishing.basket() is not null %} + {% set title = publishing.basket().getName() %} + {% set desc = publishing.basket().getDescription() %} {% endif %}