[Solar-svn] Revision 2577

pmjones at solarphp.com pmjones at solarphp.com
Tue Jul 10 14:04:11 CDT 2007


Solar_Base: [CHG] Method _exception() now sends $info as a replacement array to the internal locale() call; this means that exception text can now use named placeholders.


Modified: trunk/Solar/Base.php
===================================================================
--- trunk/Solar/Base.php	2007-07-10 19:02:28 UTC (rev 2576)
+++ trunk/Solar/Base.php	2007-07-10 19:04:11 UTC (rev 2577)
@@ -265,7 +265,7 @@
         return Solar::exception(
             $class,
             $code,
-            Solar::$locale->fetch($class, $code),
+            Solar::$locale->fetch($class, $code, 1, $info),
             (array) $info
         );
     }




More information about the Solar-svn mailing list