[vhffs-dev] [1710] HTML::Template is really a big piece of shit...

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1710
Author:   beuss
Date:     2011-05-13 13:29:15 +0200 (Fri, 13 May 2011)
Log Message:
-----------
HTML::Template is really a big piece of shit...

Modified Paths:
--------------
    trunk/vhffs-panel/admin/user/list.pl

Modified: trunk/vhffs-panel/admin/user/list.pl
===================================================================
--- trunk/vhffs-panel/admin/user/list.pl	2011-05-13 06:17:54 UTC (rev 1709)
+++ trunk/vhffs-panel/admin/user/list.pl	2011-05-13 11:29:15 UTC (rev 1710)
@@ -74,7 +74,7 @@
 	my $users = Vhffs::Panel::User::search( $vhffs, $name );
 	if( defined $users )
 	{
-		my $subtemplate = new HTML::Template( filename => $templatedir.'/panel/admin/user/part.tmpl', global_vars => 1 );
+		my $subtemplate = new HTML::Template( filename => $templatedir.'/panel/admin/user/part.tmpl', global_vars => 1, die_on_bad_params => 0 );
 		if( $user->is_admin == 1 )  {
 			$subtemplate->param( ACTION => gettext('Modify') );
 		} else {


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/