X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/dd291d0063745160d7bf221ed21b65c77877cb92..28d69bb85e934088a56e6e8458cd08d3794e1f8b:/SL/Controller/Base.pm diff --git a/SL/Controller/Base.pm b/SL/Controller/Base.pm index 42bf6bd6e..6d9434742 100644 --- a/SL/Controller/Base.pm +++ b/SL/Controller/Base.pm @@ -30,7 +30,7 @@ sub redirect_to { my $self = shift; my $url = $self->url_for(@_); - print $::cgi->redirect($url); + print $::request->{cgi}->redirect($url); } sub render { @@ -329,7 +329,7 @@ containing the template code to interprete. Additionally the output will not be sent to the browser. Instead it is only returned to the caller. -If C<< $options->{raw}>> is trueish, the function will treat the input as +If C<< $options->{raw} >> is trueish, the function will treat the input as already parsed, and will not filter the input through Template. Unlike C, the input is taked as a reference.