From ba739c601d4ccb280f976052902a04e9ecb31bfb Mon Sep 17 00:00:00 2001 From: Hystepik Date: Fri, 15 Nov 2024 22:02:50 +0100 Subject: [PATCH] fix CI --- htdocs/webhook/target_card.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/webhook/target_card.php b/htdocs/webhook/target_card.php index 4c64970443d..e218cf63425 100644 --- a/htdocs/webhook/target_card.php +++ b/htdocs/webhook/target_card.php @@ -518,16 +518,16 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea $arrayforbutactivate = array(); $arrayforbutactivate[] = array( 'url' => $_SERVER["PHP_SELF"].'?id='.$object->id.'&action=confirm_statusautomatic&confirm=yes&token='.newToken(), - 'label' => $langs->trans('AutomaticTrigger'), + 'label' => 'AutomaticTrigger', 'lang' => 'admin', - 'perm' => 1, + 'perm' => true, 'enabled' => true, ); $arrayforbutactivate[] = array( 'url' => $_SERVER["PHP_SELF"].'?id='.$object->id.'&action=confirm_statusmanual&confirm=yes&token='.newToken(), - 'label' => $langs->trans('ManualTrigger'), + 'label' => 'ManualTrigger', 'lang' => 'admin', - 'perm' => 1, + 'perm' => true, 'enabled' => true, ); print dolGetButtonAction('', $langs->trans('Enable'), 'default', $arrayforbutactivate, '', $permissiontoadd);