Update of /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Controller
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8291/OpenInteract2/Controller
Modified Files:
MainTemplate.pm
Log Message:
OIN-133: warning fixes
Index: MainTemplate.pm
===================================================================
RCS file: /cvsroot/openinteract/OpenInteract2/lib/OpenInteract2/Controller/MainTemplate.pm,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** MainTemplate.pm 2 Jun 2004 20:13:25 -0000 1.7
--- MainTemplate.pm 12 Mar 2005 05:09:39 -0000 1.8
***************
*** 33,39 ****
my $action = $self->initial_action;
! $log->is_debug &&
! $log->debug( "Executing top-level action '", $action->name, "' ",
! "with task '", $action->task, "'" );
my $content = eval { $action->execute };
--- 33,43 ----
my $action = $self->initial_action;
! if ( $log->is_debug ) {
! my $task = $action->task || '';
! $log->debug(
! sprintf( "Executing top-level action '%s' with task '%s'",
! $action->name, $task )
! );
! }
my $content = eval { $action->execute };
|