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 '';
}
}
?>