From 7979ff145bb88b8a84090a12f76f76e46ed14fa5 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 26 May 2023 09:55:18 -0600 Subject: [PATCH] Use $this->message Reason for using this message rather than local message variable is that it get changed and the information we want is preserved in the class variable. --- resources/classes/database.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/classes/database.php b/resources/classes/database.php index 958b29da17..6c3d84ff1a 100644 --- a/resources/classes/database.php +++ b/resources/classes/database.php @@ -2656,6 +2656,7 @@ } // foreach schema_array } // foreach main array + //save the message $this->message = $message; //commit the atomic transaction @@ -2765,7 +2766,7 @@ exit; } } - return $message; + return $this->message; } //save method /**