From 80c671658182e3599b1f660d5006228559c0e345 Mon Sep 17 00:00:00 2001 From: Christophe Battarel Date: Tue, 25 Sep 2012 14:46:40 +0200 Subject: [PATCH] add ability to remove a product tab if it's defined in a module description --- htdocs/core/lib/product.lib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/core/lib/product.lib.php b/htdocs/core/lib/product.lib.php index f025a34e045..837277c9858 100644 --- a/htdocs/core/lib/product.lib.php +++ b/htdocs/core/lib/product.lib.php @@ -132,6 +132,8 @@ function product_prepare_head($object, $user) } } + complete_head_from_modules($conf,$langs,$object,$head,$h,'product', 'remove'); + return $head; }