[Solar-svn] Revision 3226

pmjones at solarphp.com pmjones at solarphp.com
Mon Jun 30 09:21:44 CDT 2008


Solar_View_Helper_Form: [FIX] In method addProcess(), start from $base and then merge $info to override (not the other way around).  Thanks, dmytrok.


Modified: trunk/Solar/View/Helper/Form.php
===================================================================
--- trunk/Solar/View/Helper/Form.php	2008-06-15 13:05:45 UTC (rev 3225)
+++ trunk/Solar/View/Helper/Form.php	2008-06-30 14:21:44 UTC (rev 3226)
@@ -404,7 +404,7 @@
             'value' => $this->_view->getTextRaw($key),
         );
         
-        $info = array_merge((array) $info, $base);
+        $info = array_merge((array) $base, $info);
         
         if (empty($info['attribs']['id'])) {
             $id = str_replace('_', '-', strtolower($key));




More information about the Solar-svn mailing list