Merge pull request #5587 from 3D-I/ticket/16048

[ticket/16048] Fix restore backup from ACP
This commit is contained in:
Marc Alexander 2019-05-14 17:24:31 +02:00
commit 8142257e31
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -216,7 +216,7 @@ class acp_database
} }
else if (confirm_box(true)) else if (confirm_box(true))
{ {
switch ($backup_info['extensions']) switch ($backup_info['extension'])
{ {
case 'sql': case 'sql':
$fp = fopen($backup_info['file_name'], 'rb'); $fp = fopen($backup_info['file_name'], 'rb');