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