[dev] PATCH: remove NLS::decimalFromLocale() calls in lib/Form

Jason M. Felice jfelice at cronosys.com
Fri Jul 11 11:58:19 PDT 2003


-- 
 Jason M. Felice
 Cronosys, LLC <http://www.cronosys.com/>
 216.221.4600 x302
-------------- next part --------------
Index: lib/Form.php
===================================================================
RCS file: /repository/horde/lib/Form.php,v
retrieving revision 1.114
diff -u -u -r1.114 Form.php
--- lib/Form.php	11 Jul 2003 03:16:50 -0000	1.114
+++ lib/Form.php	11 Jul 2003 18:57:13 -0000
@@ -712,10 +712,10 @@
         if (is_array($value)) {
             $info = array();
             foreach ($value as $key => $val) {
-                $info[$key] = NLS::decimalFromLocale($val);
+                $info[$key] = $val;
             }
         } else {
-            $info = NLS::decimalFromLocale($value);
+            $info = $value;
         }
     }
 


More information about the dev mailing list