Prevent a few PHP Warnings

This commit is contained in:
markjcrane
2025-11-01 21:40:28 -06:00
parent a90a4e6212
commit 422fee7f23
2 changed files with 1 additions and 2 deletions

View File

@@ -3086,7 +3086,7 @@ class database {
//check to see if the database was updated; update the message code if needed
$database_updated = false;
if ($this->message['code'] === '200') {
if (!empty($this->message['code']) && $this->message['code'] === '200') {
$database_updated = true;
}
if (!$database_updated) {