From 502b149d3283f9dc9ff84e3f529d0485e75845da Mon Sep 17 00:00:00 2001 From: Manuel Raynaud Date: Mon, 20 Jan 2014 17:04:16 +0100 Subject: [PATCH] change good content id for category associated content --- core/lib/Thelia/Core/Template/Loop/AssociatedContent.php | 1 + templates/backOffice/default/category-edit.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/lib/Thelia/Core/Template/Loop/AssociatedContent.php b/core/lib/Thelia/Core/Template/Loop/AssociatedContent.php index 487665fc3..3cfedd5d3 100755 --- a/core/lib/Thelia/Core/Template/Loop/AssociatedContent.php +++ b/core/lib/Thelia/Core/Template/Loop/AssociatedContent.php @@ -166,6 +166,7 @@ class AssociatedContent extends Content ->set("ID" , $this->contentId[$relatedContentId]) ->set("CONTENT_ID", $relatedContentId) ->set("POSITION" , $this->contentPosition[$relatedContentId]) + ; } diff --git a/templates/backOffice/default/category-edit.html b/templates/backOffice/default/category-edit.html index 131853820..1885d8201 100755 --- a/templates/backOffice/default/category-edit.html +++ b/templates/backOffice/default/category-edit.html @@ -228,7 +228,7 @@
{loop type="auth" name="can_create" role="ADMIN" resource="admin.configuration.category" access="UPDATE"} - + {/loop}