From ae726f2bc7f1b250f2c8371960fdf6a42e508d21 Mon Sep 17 00:00:00 2001 From: MDW Date: Fri, 8 Mar 2024 02:51:55 +0100 Subject: [PATCH] Fix: Ensure string type for urlencode() --- htdocs/intracommreport/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/intracommreport/card.php b/htdocs/intracommreport/card.php index 4bfd8068589..7adc9ea0eb7 100644 --- a/htdocs/intracommreport/card.php +++ b/htdocs/intracommreport/card.php @@ -247,7 +247,7 @@ if ($id > 0 && $action != 'edit') { ); } print $form->formconfirm( - "card.php?rowid=".urlencode($id), + "card.php?rowid=".urlencode((string) ($id)), $langs->trans("DeleteReport"), $langs->trans("ConfirmDeleteReport"), "confirm_delete",