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:
35f3e56
)
_controller_name auch auf $class callbar
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 31 Aug 2012 14:34:24 +0000
(16:34 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Fri, 31 Aug 2012 14:34:24 +0000
(16:34 +0200)
SL/Controller/Base.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/Base.pm
b/SL/Controller/Base.pm
index
acf5df5
..
4dace86
100644
(file)
--- a/
SL/Controller/Base.pm
+++ b/
SL/Controller/Base.pm
@@
-204,7
+204,7
@@
sub _run_action {
}
sub _controller_name {
- return (split(/::/, ref($_[0])))[-1];
+ return (split(/::/, ref($_[0])
|| $_[0]
))[-1];
}
sub _dispatch {