diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 09cac93b0b2..4d1c573eedc 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -325,13 +325,14 @@ class Form
* @param string $typeofdata Type of data ('string' by default, 'email', 'amount:99', 'numeric:99', 'text' or 'textarea:rows:cols', 'datepicker' ('day' do not work, don't know why), 'ckeditor:dolibarr_zzz:width:height:savemethod:1:rows:cols', 'select;xxx[:class]'...)
* @return string HTML code for the edit of alternative language
*/
- public function widgetForTranslation($htmlname, $object, $perm, $typeofdata = 'string') {
+ public function widgetForTranslation($fieldname, $object, $perm, $typeofdata = 'string')
+ {
global $conf, $langs;
$result = '';
if (! empty($conf->global->PDF_USE_ALSO_LANGUAGE_CODE)) {
- $result ='
';
+ $result ='
';
$s=picto_from_langcode($conf->global->PDF_USE_ALSO_LANGUAGE_CODE);
$result .= $s;
diff --git a/htdocs/core/lib/website2.lib.php b/htdocs/core/lib/website2.lib.php
index 9748632fb3f..0a80048cb5a 100644
--- a/htdocs/core/lib/website2.lib.php
+++ b/htdocs/core/lib/website2.lib.php
@@ -522,20 +522,3 @@ function showWebsiteTemplates(Website $website)
print '';
}
-
-
-/**
- * Return HTML content to add structured data for an article, news or Blog Post.
- *
- * @return string HTML content
- */
-function getRSSForBlogPosts()
-{
- global $conf, $db, $hookmanager, $langs, $mysoc, $user, $website, $websitepage, $weblangs; // Very important. Required to have var available when running inluded containers.
-
-
-
- return $out;
-}
-
-
diff --git a/htdocs/societe/card.php b/htdocs/societe/card.php
index d8c9ec9da70..22da0cd0545 100644
--- a/htdocs/societe/card.php
+++ b/htdocs/societe/card.php
@@ -1258,7 +1258,7 @@ else
{
// Supplier
print '