Bug 32827: Fix cataloguing/value_builder/unimarc_field_110.pl
[srvgit] / cataloguing / editor.pl
index c2864a3..53152c0 100755 (executable)
@@ -49,11 +49,9 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
 
 my $schema = Koha::Database->new->schema;
 
-my @keyboard_shortcuts = Koha::KeyboardShortcuts->search();
-
 # Keyboard shortcuts
 $template->param(
-    shortcuts => \@keyboard_shortcuts,
+    shortcuts => Koha::KeyboardShortcuts->search,
 );
 
 # Available import batches