From 8909d7ba9c32c13e47e5e15a6b26d7746e72f826 Mon Sep 17 00:00:00 2001 From: marc Date: Tue, 17 Jan 2023 12:44:58 +0100 Subject: [PATCH] Add doc comment --- htdocs/contact/card.php | 3 +++ htdocs/societe/card.php | 3 +++ 2 files changed, 6 insertions(+) diff --git a/htdocs/contact/card.php b/htdocs/contact/card.php index 8c061020dc3..dffd0fa9021 100644 --- a/htdocs/contact/card.php +++ b/htdocs/contact/card.php @@ -1592,6 +1592,9 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) { } } +/** + * Show social network part if the module is enabled with hiding functionality + */ function showSocialNetwork() { global $socialnetworks, $object, $form, $object, $langs; diff --git a/htdocs/societe/card.php b/htdocs/societe/card.php index f06a4c14eee..869e5dcf262 100644 --- a/htdocs/societe/card.php +++ b/htdocs/societe/card.php @@ -3299,6 +3299,9 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) { } } +/** + * Show social network part if the module is enabled with hiding functionality + */ function showSocialNetwork() { global $socialnetworks, $object, $form, $object, $langs;