]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/Controller/Base.pm
Paginates nur anzeigen, wenn mindestens 2 Seiten.
[kivitendo-erp.git] / SL / Controller / Base.pm
index 42bf6bd6efc4a18191d734bc94aa27514c4c29a4..6d94347420aa07566877b379f0bbaec61697b61b 100644 (file)
@@ -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<inline>, the input is taked as a reference.