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;