From: <de...@de...> - 2008-04-10 20:26:21
|
Author: ArthurClemens Date: 2008-04-10 15:26:24 -0500 (Thu, 10 Apr 2008) New Revision: 16636 Trac url: http://develop.twiki.org/trac/changeset/16636 Modified: twiki/branches/TWikiRelease04x02/lib/TWiki/UI/Edit.pm twiki/branches/TWikiRelease04x02/lib/TWiki/UI/Manage.pm Log: Item5517: Wrong call $session->{i18n} Modified: twiki/branches/TWikiRelease04x02/lib/TWiki/UI/Edit.pm =================================================================== --- twiki/branches/TWikiRelease04x02/lib/TWiki/UI/Edit.pm 2008-04-10 20:13:11 UTC (rev 16635) +++ twiki/branches/TWikiRelease04x02/lib/TWiki/UI/Edit.pm 2008-04-10 20:26:24 UTC (rev 16636) @@ -120,7 +120,7 @@ # The lease is active $def = 'lease_active'; $past = TWiki::Time::formatDelta( - $t - $lease->{taken}, $session->{i18n} ); + $t - $lease->{taken}, $session->i18n ); $future = TWiki::Time::formatDelta( $lease->{expires} - $t, $session->i18n ); } Modified: twiki/branches/TWikiRelease04x02/lib/TWiki/UI/Manage.pm =================================================================== --- twiki/branches/TWikiRelease04x02/lib/TWiki/UI/Manage.pm 2008-04-10 20:13:11 UTC (rev 16635) +++ twiki/branches/TWikiRelease04x02/lib/TWiki/UI/Manage.pm 2008-04-10 20:26:24 UTC (rev 16636) @@ -638,7 +638,7 @@ my $mdd = join(' ', @{$webTopicInfo{modifydenied}} ) || ($session->i18n->maketext('(none)')); $mdd = substr($mdd, 0, 300).'... (more)' if( length($mdd) > 300); - my $mdl = join(' ', @{$webTopicInfo{modifylocked}} ) || ($session->{i18n}->maketext('(none)')); + my $mdl = join(' ', @{$webTopicInfo{modifylocked}} ) || ($session->i18n->maketext('(none)')); $mdl = substr($mdl, 0, 300).'... (more)' if( length($mdl) > 300); throw TWiki::OopsException( |