Bug 11349: Change .tmpl -> .tt in scripts using templates
[koha-ffzg.git] / acqui / supplier.pl
index df417c0..1e6954a 100755 (executable)
@@ -59,7 +59,7 @@ if ($booksellerid) {
 }
 my $op = $query->param('op') || 'display';
 my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
-    {   template_name   => 'acqui/supplier.tmpl',
+    {   template_name   => 'acqui/supplier.tt',
         query           => $query,
         type            => 'intranet',
         authnotrequired => 0,
@@ -137,7 +137,7 @@ if ( $op eq 'display' ) {
 
     # get option values from gist syspref
     my @gst_values = map {
-        option => $_
+        option => $_ + 0.0
     }, split( '\|', C4::Context->preference("gist") );
 
     $template->param(