X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FBase.pm;h=6d94347420aa07566877b379f0bbaec61697b61b;hb=02cb7e02771247f3106001076366d119277a7d30;hp=42bf6bd6efc4a18191d734bc94aa27514c4c29a4;hpb=dd291d0063745160d7bf221ed21b65c77877cb92;p=kivitendo-erp.git 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.