projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Gutschrift und Zahlungsausgang vertauscht
[kivitendo-erp.git]
/
SL
/
Controller
/
Helper
/
Sorted.pm
diff --git
a/SL/Controller/Helper/Sorted.pm
b/SL/Controller/Helper/Sorted.pm
index
8699f00
..
c9e5779
100644
(file)
--- a/
SL/Controller/Helper/Sorted.pm
+++ b/
SL/Controller/Helper/Sorted.pm
@@
-22,7
+22,7
@@
sub make_sorted {
while (my ($column, $spec) = each %specs) {
next if $column =~ m/^[A-Z_]+$/;
while (my ($column, $spec) = each %specs) {
next if $column =~ m/^[A-Z_]+$/;
- $spec = $specs{$column} = { title => $spec } if
!ref $spec
;
+ $spec = $specs{$column} = { title => $spec } if
(ref($spec) || '') ne 'HASH'
;
$spec->{model} ||= $specs{MODEL};
$spec->{model_column} ||= $column;
$spec->{model} ||= $specs{MODEL};
$spec->{model_column} ||= $column;