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:
7ba3368
)
Flexiblere Verwendung von get_first
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 25 Oct 2010 14:29:03 +0000
(16:29 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 19 Jan 2011 10:26:19 +0000
(11:26 +0100)
SL/DB/Helper/Manager.pm
patch
|
blob
|
history
diff --git
a/SL/DB/Helper/Manager.pm
b/SL/DB/Helper/Manager.pm
index
5290533
..
8ebc362
100644
(file)
--- a/
SL/DB/Helper/Manager.pm
+++ b/
SL/DB/Helper/Manager.pm
@@
-20,6
+20,7
@@
sub find_by {
sub get_first {
shift->get_all(
+ @_,
limit => 1,
)->[0];
}