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.
This commit is contained in:
FusionPBX 2023-05-26 09:55:18 -06:00 committed by GitHub
parent ad6ed407d7
commit 7979ff145b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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
/**