diff --git a/htdocs/lib/product.lib.php b/htdocs/lib/product.lib.php index e57b9f80b81..3d297d2a3fb 100644 --- a/htdocs/lib/product.lib.php +++ b/htdocs/lib/product.lib.php @@ -123,7 +123,19 @@ function product_prepare_head($product, $user) $h++; } } - + + /* + * Onglets additionnels pour les canvas + */ + if(is_array($product->onglets)) + { + foreach ($product->onglets as $onglet) + { + $head[$h] = $onglet; + $h++; + } + } + return $head; }