From 6674b8975b58f71b30a7dd170eb532fdc062d8af Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 25 Jul 2019 14:26:48 +0200 Subject: [PATCH] Fix logo of organization --- htdocs/core/lib/website.lib.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/core/lib/website.lib.php b/htdocs/core/lib/website.lib.php index bacd62960d0..79864f3879d 100644 --- a/htdocs/core/lib/website.lib.php +++ b/htdocs/core/lib/website.lib.php @@ -479,14 +479,14 @@ function getStructuredData($type, WebsitePage $websitepage) "publisher": { "@type": "Organization", "name": "'.$mysoc->name.'" + "logo": { + "@type": "ImageObject", + "url": "/viewimage.php?modulepart=mycompany&file=logos%2F'.urlencode($mysoc->logo).'" + } }, "description": "'.$websitepage->description.'" }'."\n"; /* - "logo": { - "@type": "ImageObject", - "url": "https://google.com/logo.jpg" - } */ $ret .= ''."\n"; }