Skip to content

Commit 54866e8

Browse files
authored
Update class_backup_SQL.php
1 parent 20a3058 commit 54866e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/class_backup_SQL.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,9 @@ private function checkext($ext) {
420420
$ext = explode(',', strtolower($ext));
421421
} elseif (is_array($ext)) {
422422
$ext = array_map('strtolower', $ext);
423-
}
423+
} else {
424+
$ext = array();
425+
}
424426
if (in_array("sql", $ext) || in_array("csv", $ext) || in_array("json", $ext)) {
425427
$this->ext = $ext;
426428
} elseif (in_array("all", $ext)) {

0 commit comments

Comments
 (0)