projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Speicherroutine darf nur auf "customer_vendor_edit" testen
[kivitendo-erp.git]
/
SL
/
DB
/
Employee.pm
diff --git
a/SL/DB/Employee.pm
b/SL/DB/Employee.pm
index
8688e82
..
9244455
100644
(file)
--- a/
SL/DB/Employee.pm
+++ b/
SL/DB/Employee.pm
@@
-12,4
+12,10
@@
sub has_right {
return $::auth->check_right($self->login, $right);
}
return $::auth->check_right($self->login, $right);
}
+sub safe_name {
+ my ($self) = @_;
+
+ return $self->name || $self->login;
+}
+
1;
1;