projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96e32f3
)
SL::File: get_all_versions mit dbfile als Parameter gefixed
author
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Wed, 6 Apr 2022 09:45:03 +0000
(11:45 +0200)
committer
Bernd Bleßmann
<bernd@kivitendo-premium.de>
Wed, 6 Apr 2022 09:45:03 +0000
(11:45 +0200)
SL/File.pm
patch
|
blob
|
history
diff --git
a/SL/File.pm
b/SL/File.pm
index
761a0ad
..
81bc755
100644
(file)
--- 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(db
file => $params{db_
file}, id => $params{dbfile}->id, loaded => 1);
+ push @fileobjs, SL::File::Object->new(db
_file => $params{db
file}, id => $params{dbfile}->id, loaded => 1);
} else {
@fileobjs = $self->get_all(%params);
}