* Thu Apr 17 2025 Brian Read <brianr@koozali.org> 11.0.0-78.sme

- typo in remoteaccess panel
- Fix crash in veiwlogfiles if viewlogfiles key not in DB
This commit is contained in:
2025-04-17 12:16:38 +01:00
parent 9bb2128891
commit fa286e966d
2 changed files with 7 additions and 2 deletions

View File

@@ -31,7 +31,8 @@ sub main {
my %log_datas = ();
my $title = $c->l('log_FORM_TITLE');
my $notif = '';
$log_datas{default_op} = ($cdb->get('viewlogfiles')->prop('DefaultOperation')) || 'view';
my $viewlog = $cdb->get('viewlogfiles');
$log_datas{default_op} = ($viewlog ? $viewlog->prop('DefaultOperation') : undef) || 'view';
$c->stash(title => $title, notif => $notif, log_datas => \%log_datas);
$c->render(template => 'viewlogfiles');
} ## end sub main