mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Fix: Ensure string type for urlencode()
This commit is contained in:
@@ -123,10 +123,10 @@ if ($sortorder) {
|
||||
$param .= '&sortorder='.urlencode($sortorder);
|
||||
}
|
||||
if ($year) {
|
||||
$param .= '&year='.urlencode($year);
|
||||
$param .= '&year='.urlencode((string) ($year));
|
||||
}
|
||||
if ($search_sc_type) {
|
||||
$param .= '&search_sc_type='.urlencode($search_sc_type);
|
||||
$param .= '&search_sc_type='.urlencode((string) ($search_sc_type));
|
||||
}
|
||||
if ($optioncss != '') {
|
||||
$param .= '&optioncss='.urlencode($optioncss);
|
||||
|
||||
Reference in New Issue
Block a user