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:
@@ -400,7 +400,6 @@ function do_upgrade_defaults() {
|
||||
|
||||
//run all app_defaults.php files
|
||||
$domain = new domains;
|
||||
$domain->display_type = 'text';
|
||||
$domain->upgrade();
|
||||
|
||||
echo "\n";
|
||||
|
||||
@@ -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