From fbe30b0ce582f8e9e49a56e6c5804e0be2cdf917 Mon Sep 17 00:00:00 2001 From: Marc Michalsky Date: Fri, 17 Dec 2021 12:19:46 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=EF=B8=8F=20get=20rid=20of=20the=20?= =?UTF-8?q?warning=20about=20using=20an=20deprecated=20constant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- twinglecampaign.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/twinglecampaign.php b/twinglecampaign.php index bda4f1d..04ff8ca 100644 --- a/twinglecampaign.php +++ b/twinglecampaign.php @@ -411,8 +411,7 @@ function _validateAndSendInput($id, $campaign_type_id): bool { CRM_Core_Session::setStatus( $errorMessage, E::ts("Input validation failed"), - error, - [unique => TRUE] + error ); // Validation failed return FALSE;