From bcefd989bd54ae1ea1b7fde453d9f020fd0e9f54 Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Thu, 15 May 2025 18:51:14 +0200 Subject: [PATCH] Fix CI --- htdocs/comm/mailing/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/comm/mailing/card.php b/htdocs/comm/mailing/card.php index 0672dbe4753..f7efdcd6727 100644 --- a/htdocs/comm/mailing/card.php +++ b/htdocs/comm/mailing/card.php @@ -153,7 +153,7 @@ if (empty($reshook)) { if (!GETPOST("clone_content", 'alpha') && !GETPOST("clone_receivers", 'alpha')) { setEventMessages($langs->trans("NoCloneOptionsSpecified"), null, 'errors'); } else { - $result = $object->createFromClone($user, $object->id, GETPOST("clone_content"), GETPOST("clone_receivers")); + $result = $object->createFromClone($user, $object->id, GETPOST("clone_content") ? 1 : 0, GETPOST("clone_receivers") ? 1 : 0); if ($result > 0) { header("Location: ".$_SERVER['PHP_SELF'].'?id='.$result); exit;