Fix CI
This commit is contained in:
parent
f285574f66
commit
bcefd989bd
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue