koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/C4 Output.pm [rel_3_0]


From: paul poulain
Subject: [Koha-cvs] koha/C4 Output.pm [rel_3_0]
Date: Wed, 20 Dec 2006 16:51:27 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_3_0
Changes by:     paul poulain <tipaul>   06/12/20 16:51:27

Modified files:
        C4             : Output.pm 

Log message:
        die_on_bad_params seems better to me for debugguing

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Output.pm?cvsroot=koha&only_with_tag=rel_3_0&r1=1.56.2.4&r2=1.56.2.5

Patches:
Index: Output.pm
===================================================================
RCS file: /sources/koha/koha/C4/Output.pm,v
retrieving revision 1.56.2.4
retrieving revision 1.56.2.5
diff -u -b -r1.56.2.4 -r1.56.2.5
--- Output.pm   28 Nov 2006 14:07:38 -0000      1.56.2.4
+++ Output.pm   20 Dec 2006 16:51:27 -0000      1.56.2.5
@@ -21,7 +21,7 @@
 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 # Suite 330, Boston, MA  02111-1307 USA
 
-# $Id: Output.pm,v 1.56.2.4 2006/11/28 14:07:38 toins Exp $
+# $Id: Output.pm,v 1.56.2.5 2006/12/20 16:51:27 tipaul Exp $
 
 # NOTE: I'm pretty sure this module is deprecated in favor of
 # templates.
@@ -36,7 +36,7 @@
 use vars qw($VERSION @ISA @EXPORT);
 
 # set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.56.2.4 $' =~ /\d+/g; shift(@v) . "." . 
join( "_", map { sprintf "%03d", $_ } @v ); };
+$VERSION = do { my @v = '$Revision: 1.56.2.5 $' =~ /\d+/g; shift(@v) . "." . 
join( "_", map { sprintf "%03d", $_ } @v ); };
 
 =head1 NAME
 
@@ -78,7 +78,7 @@
     my $opacstylesheet = C4::Context->preference('opacstylesheet');
     my $template       = HTML::Template::Pro->new(
         filename          => "$htdocs/$theme/$lang/$tmplbase",
-        die_on_bad_params => 0,
+        die_on_bad_params => 1,
         global_vars       => 1,
         case_sensitive    => 1,
         path              => ["$htdocs/$theme/$lang/$path"]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]