Skip to content

Commit

Permalink
Fixed errors with PHP 8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mystralkk committed Dec 21, 2020
1 parent 7aaae59 commit 37baa16
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions public_html/admin/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -1095,9 +1095,13 @@ function DBADMIN_configBackup()
$excluded = '';
$retval = '';

$exclude_tables = @unserialize($_VARS['_dbback_exclude']);
if (!is_array($exclude_tables)) {
$exclude_tables = [];
$exclude_tables = [];
if (isset($_VARS['_dbback_exclude'])) {
$exclude_tables = @unserialize($_VARS['_dbback_exclude']);

if (!is_array($exclude_tables)) {
$exclude_tables = [];
}
}

$menu_arr = [
Expand Down

0 comments on commit 37baa16

Please sign in to comment.