From 9e7698f83d065745ec0d2a362cd985894cac82c5 Mon Sep 17 00:00:00 2001 From: Focuslinkstech <45756999+Focuslinkstech@users.noreply.github.com> Date: Sat, 31 Aug 2024 12:37:20 +0100 Subject: [PATCH] fix WhatsApp welcome message not sending --- system/controllers/customers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/controllers/customers.php b/system/controllers/customers.php index 10f9ae1d..c38d3461 100644 --- a/system/controllers/customers.php +++ b/system/controllers/customers.php @@ -455,7 +455,7 @@ switch ($action) { 'args' => [$d['phonenumber'], $welcomeMessage] ], 'whatsapp' => [ - 'enabled' => isset($_POST['wa']) && $_POST['wa'] == 'wa', + 'enabled' => isset($_POST['wa']), 'method' => 'sendWhatsapp', 'args' => [$d['phonenumber'], $welcomeMessage] ],