From 9c8dfe6f5096f028c3e09ff9a03de7d6ed5ed7ac Mon Sep 17 00:00:00 2001 From: DanielZambranoC Date: Thu, 18 May 2017 11:53:29 -0400 Subject: [PATCH] delete_record() full response Upated delete_record() to return the full response instead of just true/false. This allows for error handling. --- quickbase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickbase.php b/quickbase.php index 3be0693..94a1a6e 100644 --- a/quickbase.php +++ b/quickbase.php @@ -451,7 +451,7 @@ public function delete_record($rid) { $response = $this->transmit($url_string); } if($response) { - return true; + return $response; } return false; } @@ -1113,4 +1113,4 @@ public function api_run_import($id) { return false; } } -?> \ No newline at end of file +?>