From 5e311b28e8c46d1a4cdb1c580997a3e8b60ba974 Mon Sep 17 00:00:00 2001 From: Danny Gershman Date: Sat, 9 Mar 2019 16:03:50 -0500 Subject: [PATCH] patch for null twilioclient reference #241 --- endpoints/meeting-search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoints/meeting-search.php b/endpoints/meeting-search.php index 46cf83a61..6c8ffd641 100644 --- a/endpoints/meeting-search.php +++ b/endpoints/meeting-search.php @@ -29,7 +29,7 @@ function sendSms($message) { if (isset($_REQUEST['From']) && isset($_REQUEST['To'])) { - $twilioClient->messages->create($_REQUEST['From'], array("from" => $_REQUEST['To'], "body" => $message)); + $GLOBALS['twilioClient']->messages->create($_REQUEST['From'], array("from" => $_REQUEST['To'], "body" => $message)); } } ?>