projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SL::Controller::CustomerVendor::action_new in action_add umbenannt
[kivitendo-erp.git]
/
SL
/
DB
/
Helper
/
Sorted.pm
diff --git
a/SL/DB/Helper/Sorted.pm
b/SL/DB/Helper/Sorted.pm
index
9442c84
..
1b6c42a
100644
(file)
--- a/
SL/DB/Helper/Sorted.pm
+++ b/
SL/DB/Helper/Sorted.pm
@@
-47,7
+47,7
@@
sub _get_sort_spec {
sub _make_sort_spec {
my ($class) = @_;
sub _make_sort_spec {
my ($class) = @_;
- my %sort_spec =
$class->_sort_spec if defined &{ "${class}::_sort_spec" }
;
+ my %sort_spec =
defined &{ "${class}::_sort_spec" } ? $class->_sort_spec : ()
;
my $meta = $class->object_class->meta;
my $meta = $class->object_class->meta;