diff --git a/htdocs/core/class/extrafields.class.php b/htdocs/core/class/extrafields.class.php index 7d23ad247b4..29d1011eb86 100644 --- a/htdocs/core/class/extrafields.class.php +++ b/htdocs/core/class/extrafields.class.php @@ -1456,7 +1456,7 @@ class ExtraFields } // can use MODE request (list or view) if (strpos($InfoFieldList[4], '$MODE$') !== false) { - $InfoFieldList[4] = str_replace('$MODE$', $mode, $InfoFieldList[4]); + $InfoFieldList[4] = str_replace('$MODE$', (string) $mode, $InfoFieldList[4]); } // current object id can be use into filter @@ -1478,7 +1478,7 @@ class ExtraFields } else { $sqlwhere .= ' WHERE 1=1'; } -print $sqlwhere; + // Add Usf filter on second line /* if ($Usf) { diff --git a/htdocs/core/upload_page.php b/htdocs/core/upload_page.php index b1964d5eff0..cbac75cea9f 100644 --- a/htdocs/core/upload_page.php +++ b/htdocs/core/upload_page.php @@ -97,7 +97,7 @@ $arrayofcss = array(); llxHeader('', $title, $help_url, '', 0, 0, $arrayofjs, $arrayofcss, '', 'mod-upload page-card'); //top_htmlhead($head, $title, 0, 0, $arrayofjs, $arrayofcss); -print load_fiche_titre('', '', '', 0, '', 0, '