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:
00451fb
)
warnings: nicht initialisierte Variable in Helper/Sorted
author
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 22 Mar 2016 12:01:33 +0000
(13:01 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 22 Mar 2016 12:01:33 +0000
(13:01 +0100)
SL/DB/Helper/Sorted.pm
patch
|
blob
|
history
diff --git
a/SL/DB/Helper/Sorted.pm
b/SL/DB/Helper/Sorted.pm
index
7d1b406
..
69b105f
100644
(file)
--- a/
SL/DB/Helper/Sorted.pm
+++ b/
SL/DB/Helper/Sorted.pm
@@
-16,7
+16,7
@@
sub make_sort_string {
my $sort_dir = defined($params{sort_dir}) ? $params{sort_dir} * 1 : $sort_spec->{default}->[1];
my $sort_dir_str = $sort_dir ? 'ASC' : 'DESC';
- my $sort_by = $params{sort_by};
+ my $sort_by = $params{sort_by}
|| { }
;
$sort_by = $sort_spec->{default}->[0] unless $sort_spec->{columns}->{$sort_by};
my $nulls_str = '';