X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/24a9617088c80727bd4b348c8592224e447b9b92..c6e1a58a83d86cf310295d5b12821d11ec2d6eb0:/SL/Controller/Base.pm diff --git a/SL/Controller/Base.pm b/SL/Controller/Base.pm index acf5df593..4dace86ed 100644 --- 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 {