[geeklog-hg] geeklog: For Locale Decimal Separator (and Thousands) allow a sp...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Mon Jan 7 10:53:12 EST 2013


changeset 8909:f470ff70684f
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/f470ff70684f
user: Tom <websitemaster at cogeco.net>
date: Mon Jan 07 09:47:13 2013 -0500
description:
For Locale Decimal Separator (and Thousands) allow a space (bug #0001537)

diffstat:

 public_html/admin/configuration.php |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 7d190eceecf2 -r f470ff70684f public_html/admin/configuration.php
--- a/public_html/admin/configuration.php	Wed Jan 02 14:39:54 2013 -0500
+++ b/public_html/admin/configuration.php	Mon Jan 07 09:47:13 2013 -0500
@@ -427,7 +427,7 @@
             break;
         }
         
-        if ( preg_match('/^[\w.,;\-]{1}$/i', $paramValue) ) {
+        if ( preg_match('/^[\s\w.,;\-]{1}$/i', $paramValue) ) {
             $ret = true;
         }
     }



More information about the geeklog-cvs mailing list