From f3324b5ad66924333bf2a313974f6d4d21932707 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Wed, 6 Apr 2022 11:45:03 +0200 Subject: [PATCH] SL::File: get_all_versions mit dbfile als Parameter gefixed --- SL/File.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/File.pm b/SL/File.pm index 761a0ad7f..81bc75597 100644 --- a/SL/File.pm +++ b/SL/File.pm @@ -63,9 +63,9 @@ sub get_all { sub get_all_versions { my ($self, %params) = @_; my @versionobjs; - my @fileobjs = $self->get_all(%params); + my @fileobjs; if ( $params{dbfile} ) { - push @fileobjs, SL::File::Object->new(dbfile => $params{db_file}, id => $params{dbfile}->id, loaded => 1); + push @fileobjs, SL::File::Object->new(db_file => $params{dbfile}, id => $params{dbfile}->id, loaded => 1); } else { @fileobjs = $self->get_all(%params); } -- 2.20.1