The Backup/Restore function allows the admin user to upload a non-existing database SQL file, or so it seems, by merely clicking on the Import-button, without selecting any DB file at all. I don't thing it does any changes to the database, but it always produces a misleading success message when in fact nothing happend because there was no DB file uploaded.
I suggest to have the function import from /admin/model/tool/backup.php return TRUE for a successful upload, or else to have it return an error message, which can then be passed on as the error message to e.g. the $this->data['error_warning'] in function index of /admin/controller/tool/backup.php.
Who is online
Users browsing this forum: No registered users and 14 guests