update koha as cms commands
[kohadocs.git] / en / manual.xml
index 7c7aba9..a662578 100644 (file)
@@ -47466,9 +47466,9 @@ Items :
         </listitem>
         <listitem>
           <para>Add these lines: </para>
-          <programlisting>        my $page = "page_" . $cgi->param('p');            # go for "p" value in URL and do the concatenation
+          <programlisting>        my $page = "page_" . $input->param('p');          # go for "p" value in URL and do the concatenation
         my $preference = C4::Context->preference($page);  # Go for preference  
-        $template->{VARS}->{'page_test'} = $preference    # pass variable to template pages.tt</programlisting>
+        $template->{VARS}->{'page_test'} = $preference;   # pass variable to template pages.tt</programlisting>
         </listitem>
 
         <listitem>