From 9389f2cc91e3494405a45c14664b791d919b0580 Mon Sep 17 00:00:00 2001 From: wrongecho Date: Sat, 4 Apr 2026 10:49:50 +0100 Subject: [PATCH] More helpful error --- api/v1/update_output.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1/update_output.php b/api/v1/update_output.php index da985b54..ed9402be 100644 --- a/api/v1/update_output.php +++ b/api/v1/update_output.php @@ -16,7 +16,7 @@ if (isset($update_count) && is_numeric($update_count) && $update_count > 0) { // Query returned false: something went wrong, or it was declined due to required variables missing else { $return_arr['success'] = "False"; - $return_arr['message'] = "Auth success but update query failed/returned no results. Ensure ALL required variables are provided and database schema is up-to-date. Most likely cause: non-existent module ID (i.e. bad contact ID/ticket ID/etc)."; + $return_arr['message'] = "Auth success but update query failed/returned no results. Ensure ALL required variables are provided and database schema is up-to-date. Most likely cause: non-existent module ID (i.e. bad contact ID/ticket ID/etc) or no rows changed."; // Log any database/schema related errors to the PHP Error log if (mysqli_error($mysqli)) {