System: Configuration: Backups - change message when no files are returned by the remote host, for https://github.com/opnsense/plugins/pull/4602

This commit is contained in:
Ad Schellevis 2025-03-19 21:58:49 +01:00
parent 4eca08abb7
commit c48d393d33

View file

@ -399,7 +399,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
}
if (count($filesInBackup) == 0) {
$input_errors[] = gettext('Saved settings, but remote backup failed.');
$input_messages = gettext('Saved settings, but remote backup returned no files.');
} else {
$input_messages = gettext("Backup successful, current file list:") . "<br>";
foreach ($filesInBackup as $filename) {