mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Prevent a few PHP Warnings
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user