projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Boolesche Funktionen ("is_...") auch boolesche Werte zurückgeben lassen
[kivitendo-erp.git]
/
SL
/
DB
/
Order.pm
diff --git
a/SL/DB/Order.pm
b/SL/DB/Order.pm
index
b23e1da
..
ae5c504
100644
(file)
--- a/
SL/DB/Order.pm
+++ b/
SL/DB/Order.pm
@@
-69,7
+69,7
@@
sub displayable_type {
sub is_sales {
croak 'not an accessor' if @_ > 1;
- return shift->customer_id;
+ return
!!
shift->customer_id;
}
sub invoices {