Fix: Ensure string type for urlencode()
This commit is contained in:
parent
028f9599a6
commit
08eb3a8e1f
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ if (!empty($numref)) {
|
|||
$object->fetch_thirdparty();
|
||||
$upload_dir = $conf->bank->dir_output."/".$id."/statement/".dol_sanitizeFileName($numref);
|
||||
}
|
||||
$backtopage = $_SERVER['PHP_SELF']."?account=".urlencode($id)."&num=".urlencode($numref);
|
||||
$backtopage = $_SERVER['PHP_SELF']."?account=".urlencode((string) ($id))."&num=".urlencode((string) ($numref));
|
||||
include DOL_DOCUMENT_ROOT.'/core/actions_linkedfiles.inc.php';
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue