Percents now with .0
authorRoland Häder <roland@mxchange.org>
Sun, 12 Oct 2008 01:01:29 +0000 (01:01 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 12 Oct 2008 01:01:29 +0000 (01:01 +0000)
inc/databases.php
inc/modules/member/what-refback.php

index af42fca..af0f687 100644 (file)
@@ -113,7 +113,7 @@ define('USAGE_BASE', "usage");
 define('SERVER_URL', "http://www.mxchange.org");
 
 // This current patch level
-define('CURR_SVN_REVISION', "498");
+define('CURR_SVN_REVISION', "499");
 
 // Take a prime number which is long (if you know a longer one please try it out!)
 define('_PRIME', 591623);
index b616e22..10ab231 100644 (file)
@@ -88,8 +88,8 @@ if ((isset($_POST['edit'])) && (isset($_POST['id']))) {
 
                // Translate comma
                $content['refback'] = TRANSLATE_COMMA($content['refback']);
-               $content['min']     = $_CONFIG['refback_min_perc'];
-               $content['max']     = $_CONFIG['refback_max_perc'];
+               $content['min']     = TRANSLATE_COMMA($_CONFIG['refback_min_perc'].".0", true, 1);
+               $content['max']     = TRANSLATE_COMMA($_CONFIG['refback_max_perc'].".0", true, 1);
 
                // Load form for editing
                LOAD_TEMPLATE("member_refback_edit", false, $content);