From ca5828dcbc9e34b02feff7158dbf96e71d4268ae Mon Sep 17 00:00:00 2001 From: Suvodip Date: Fri, 31 May 2024 17:26:35 +0530 Subject: [PATCH] cc --- .hta_slug/edit-lead.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.hta_slug/edit-lead.php b/.hta_slug/edit-lead.php index 7973925..2f20a0f 100644 --- a/.hta_slug/edit-lead.php +++ b/.hta_slug/edit-lead.php @@ -349,13 +349,14 @@ $stmt->bindParam(':method', $messageMethod); $stmt->execute(); $sendSuccessMessage = "Email Sent successfully"; - echo ''; + // echo ''; } catch (PDOException $e) { echo "Error: " . $e->getMessage(); } } // Close the file pointer fclose($fp); + echo ''; } } elseif (isset($_GET['send-whatsapp-id']) && $_GET['send-whatsapp-id']) { $url = "https://api.interakt.ai/v1/public/message/"; @@ -412,7 +413,7 @@ $stmt->bindParam(':method', $messageMethod); $stmt->execute(); $sendSuccessMessage = "WhatsApp Sent successfully"; - echo ''; + } catch(PDOException $e) { echo "Error: " . $e->getMessage(); } @@ -420,6 +421,7 @@ // echo $response; } fclose($fp); + echo ''; } } ?>