* Sun Mar 09 2025 Brian Read <brianr@koozali.org> 11.0.0-65.sme

- Sort out missing hostname on nfs and cifs workstation backup on error [SME: 12948]
This commit is contained in:
2025-03-09 15:38:39 +00:00
parent c5d863b3a0
commit 82ff48e641
2 changed files with 5 additions and 2 deletions

View File

@@ -526,13 +526,13 @@ sub do_update {
# common part for all functions
if ($res ne 'OK') {
if ($res eq 'NEXT') {
$dest = 'back_' . $bac_datas{"function"};
} else {
$c->stash(error => $result);
$dest = "back_$function";
}
$bac_datas{vfstype} = $c->param('VFSType');
$c->stash(title => $title, bac_datas => \%bac_datas);
return $c->render($dest);
} ## end if ($res ne 'OK')