[vhffs-dev] [678] Fixed ISE on admin users' list.

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


Revision: 678
Author:   beuss
Date:     2007-07-06 12:11:27 +0000 (Fri, 06 Jul 2007)

Log Message:
-----------
Fixed ISE on admin users' list.

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


Modified: trunk/vhffs-panel/admin/user/list.pl
===================================================================
--- trunk/vhffs-panel/admin/user/list.pl	2007-07-06 11:08:57 UTC (rev 677)
+++ trunk/vhffs-panel/admin/user/list.pl	2007-07-06 12:11:27 UTC (rev 678)
@@ -87,11 +87,12 @@
 		my $subtemplate;
 
 		if( $user->is_admin == 1 )  {
-			$subtemplate = new HTML::Template( filename => $templatedir.'/admin/user/part.tmpl', global_vars => 1 );
+			$subtemplate = new HTML::Template( filename => $templatedir.'/admin/user/part.tmpl', 
+                global_vars => 1, die_on_bad_params => 0 );
             $subtemplate->param( SEND => gettext('Modify this user') );
 		}  else  {
 			$subtemplate = new HTML::Template( filename => $templatedir.'/admin/user/part-modo.tmpl', global_vars => 1 );
-            $subtemplate->param( SEND => gettext('Show this user'));
+            $subtemplate->param( SEND => gettext('Show this user'), die_on_bad_params => 0);
 		}
 
         $subtemplate->param( USERS => $users );


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