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] ],