From ecddf3164de8de1712691647b6f305f67c845d0b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 6 Feb 2023 03:41:15 +0100 Subject: [PATCH] Fix phpunit --- htdocs/core/class/commonsocialnetworks.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/commonsocialnetworks.class.php b/htdocs/core/class/commonsocialnetworks.class.php index aa4527b329e..7d0b6a9139e 100644 --- a/htdocs/core/class/commonsocialnetworks.class.php +++ b/htdocs/core/class/commonsocialnetworks.class.php @@ -53,11 +53,11 @@ trait CommonSocialNetworks } if ($nbofnetworks > 1) { - print '
'; + print '
'; //print ''; //print ''; //print '
'; - print ' '.$nbactive.''; + print ' '.$nbactive.''; print ''; print ''; } @@ -85,6 +85,7 @@ trait CommonSocialNetworks jQuery(".socialnetworklnk").click(function() { console.log("Click on link"); toogleSocialNetwork(true); + return false; }); function toogleSocialNetwork(chgCookieState) {