[Rt-commit] r4110 - in rt/branches/3.7-EXPERIMENTAL: . html/Elements

ruz at bestpractical.com ruz at bestpractical.com
Wed Nov 16 19:54:38 EST 2005


Author: ruz
Date: Wed Nov 16 19:54:38 2005
New Revision: 4110

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/html/Elements/Error
Log:
 r1317 at cubic-pc:  cubic | 2005-11-17 03:58:18 +0300
  r1295 at cubic-pc:  cubic | 2005-11-16 06:57:46 +0300
  * RT doesnt support 5.6 anymore
 


Modified: rt/branches/3.7-EXPERIMENTAL/html/Elements/Error
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Elements/Error	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Elements/Error	Wed Nov 16 19:54:38 2005
@@ -68,10 +68,8 @@
 my $error = "WebRT: $Why ($Details)";
 
 # TODO: Log::Dispatch isn't UTF-8 safe. Autrijus needs to talk to dave rolsky about getting this fixed
-if ($] >= 5.007001) {
-    require Encode;
-    Encode::_utf8_off($error);
-}
+use Encode ();
+Encode::_utf8_off($error);
 
 $RT::Logger->error($error);
 


More information about the Rt-commit mailing list